-
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
Failed to deploy using OpenLiberty Operator 0.8.1 #340
Comments
Tried to install 0.8.1 using |
@zhengchang907 To resolve some timing issues with pulling the image from the internal image registry, we added a check (included with 0.8.1) to ensure that the ServiceAccount includes an image pull secret. In OpenShift, the ServiceAccount automatically gets an image pull secret. In your environment, it seems that the ServiceAccount doesn't have a secret. Please confirm if that's the case. Is that expected? If so, wondering how the images are pulled from the internal registry, assuming there is one. Thanks. |
Hi @leochr Yes. In my case, I attached the Azure Container Registry to AKS cluster so there is no need for pull secret, and it is expected. Here is the doc: Authenticate with Azure Container Registry from Azure Kubernetes Service The command I used to do so is:
|
@zhengchang907 Thank you. We'll need to fix the service account validation logic to account for this. It'll be released under 0.8.2. Let you know when it's available. It'll take at least 2 weeks to complete the release cycle |
@leochr Thank you, looking forward to it |
Just wanted to add that this same behavior was seen when using the 0.8.1 operator on an EKS cluster using a private registry. The secret for the registry was created in the namespace where the application was to be deployed, but the same errors as noted above for the service account were logged. After adding the secret to the service account, the deployment completed successfully. |
Please consider to release the updated version with the fix. The current issue blocks using the operator in all Kubernetes clusters / providers where are no pull secrets provided automatically. |
We expect to have the release by the end of this month |
@leochr is there any news on the release with the fix? Thanks! |
@dfateyev Unfortunately, we had a setback. But we are working on it. I'll get back to you on the expected release date by the end of this week. |
Hi @leochr, any updates on the release? Thanks |
Hello @leochr I'm teammate of @zhengchang907 , I noticed that 0.8.2 is released and also verified that the issue @zhengchang907 reported has been fixed in 0.8.2. Thanks for the fixing. |
I was about to update this issue regarding the 0.8.2 release. Thanks for the confirmation @majguo |
Bug Report
What did you do?
I was following this guide, just using 0.8.1 instead of 0.8.0
What did you expect to see?
Able to deploy successfully
What did you see instead?
Environment
OpenLiberty Operator 0.8.1
Possible solution
Additional context
The text was updated successfully, but these errors were encountered: