-
Notifications
You must be signed in to change notification settings - Fork 38
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
Unable to deploy app to OCP with Knative #646
Comments
This is a regression since this worked in Liberty 24.0.0.9 |
This problem is also seen on x86 OCP |
At a glance in the Operator code, I don't see the pull secret from CR being set on Knative workloads (now or before). So I don't believe this is a regression. A global pull secret was likely in place in the clusters where the image pull failure didn't occur in the past. We'll look into setting the pull secret on Knative workloads. |
Our experience in the past was that we always need to have a pull secret in the namespace of the app even when we have a global pull secret. Knative does not work with global pull secret. We also have global pull secret in OCP when we saw this problem |
@tam512 Your original report says that you saw this issue on Power. Have you also seen the issue on X or is it Power only? |
I think this is working as designed. For the moment, you can get this scenario to work if you specify the pull secret when you create the custom service account |
@tam512 Please see Iain's response above. The pull secret is specified via the Service Account and Liberty Operator adds the pull secret only if the default service account it manages is used. For custom service accounts, the pull secret should be added by the user. Please try that. Closing. Please reopen if the suggestion doesn't work. |
On Power 9 OCP, installed Open Liberty Operator 1.4.0, install RH Serverless operator and Knative serving using script https://github.ibm.com/websphere/operators/tree/main/scripts/configure-cluster/setup-ocp-cluster.sh -S -K --arch P
My app image failed to deployed. I see
Authentication is required
when describe revisionCheck revision and kservice resource and I do not pullSecret in them
The text was updated successfully, but these errors were encountered: