-
Notifications
You must be signed in to change notification settings - Fork 196
Description
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.