You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
In order to use a private registry, the registry secret must be linked to the service account that will deploy the application.
oc -n kabanero secrets link <service-account> my-registry --for=pull,mount
However, today the pipeline doesn't automatically do this so the resulting pod fails with ImagePullBackOff errors until Todd manually find the correct SA, applies the link, and deletes the pod.
Then deploy some app using these newly created stacks using appsody.
Result: the pod is in ImagePullBackOff state.
To fix this problem:
find the Service Account for the application by looking in the pod yaml,
run this cmd: oc -n kabanero secrets link <service-account> my-registry --for=pull,mount
Delete the pod and it will get regenerated.
After this the application works. We need a better solution, this seems just a workaroud. Perhaps we can automatically link the secret to serviceAccount during the pipeline run.
The text was updated successfully, but these errors were encountered:
In order to use a private registry, the registry secret must be linked to the service account that will deploy the application.
oc -n kabanero secrets link <service-account> my-registry --for=pull,mount
However, today the pipeline doesn't automatically do this so the resulting pod fails with
ImagePullBackOff
errors until Todd manually find the correct SA, applies the link, and deletes the pod.To Reproduce
Steps to reproduce the behavior:
https://www.ibm.com/support/knowledgecenter/SSCSJL_4.1.x/settingup.html
oc -n kabanero secrets link <service-account> my-registry --for=pull,mount
After this the application works. We need a better solution, this seems just a workaroud. Perhaps we can automatically link the secret to serviceAccount during the pipeline run.
The text was updated successfully, but these errors were encountered: