mq-container icon indicating copy to clipboard operation
mq-container copied to clipboard

Documentation Issue with link

Open Knickkennedy opened this issue 6 months ago • 1 comments

https://www.ibm.com/docs/en/ibm-mq/9.4.x?topic=reference-mq-advanced-developers-container-image#developers-container-image__exampleqmyaml__title__1

This link outlines that the two referenced environment variables are deprecated, and states that it will show how to mount the secret for the passwords to the IBM MQ CRD... but instead it shows a reference of mounting the secret to the environment variable, which would still just use the deprecated environment variable and expose the secret passwords.

Relevant section from your docs

template: pod: containers: - env: - name: MQ_DEV value: "true" - name: MQ_CONNAUTH_USE_HTP value: "true" - name: MQ_ADMIN_PASSWORD valueFrom: secretKeyRef: name: my-mq-dev-passwords key: dev-admin-password - name: MQ_APP_PASSWORD valueFrom: secretKeyRef: name: my-mq-dev-passwords key: dev-app-password

It would make more sense to see something in the CRD like a volume mount where you mount the secret directly instead. It is also confusing because I do not know the correct path for mounting the admin password and app user password without guesswork and digging.

Knickkennedy avatar May 26 '25 04:05 Knickkennedy