Skip to content

current container deployments missing the app and admin env configs for webconsole #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ashoon-ibm opened this issue May 15, 2025 · 3 comments

Comments

@ashoon-ibm
Copy link

when deploying to openshift the yaml created for the pod is missing the snippet below which needs to be added post deployment to be able to use the webconsole.

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


 - 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
          name: qmgr
@crispysipper
Copy link

do you mean that despite setting these env vars in your deployment configuration, the pods fail to consume these variables?

@ashoon-ibm
Copy link
Author

no - the scripts themselves don't set the env vars leaving one to figure out what is missing and how to add post deployment.

@crispysipper
Copy link

I think the scripts just create the secrets in OpenShift/K8S, then you will need to customize your deployment (using the --set flag in your helm install command) or declaratively in your values.yaml itself to ensure that the workload is consuming the secrets when it is initialized so you don't have to modify post-deployment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants