-
Notifications
You must be signed in to change notification settings - Fork 622
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
Awx-operator Helm upgrade fails due to version labels in selector #1057
Comments
I ran into this problem as well. Not that it should be required, but you can |
@jeffb4 Yea sure we can remove existing awx-operator deployment and run helm upgrade, but this is not how it should be :) |
@andriktr thanks for this issue! Yeah, very frustrating problem 😓 |
Same 0.29.0 to 0.30.0 |
The only way I see how to fix it is to remove |
I have started to work on a local branch to fix this. I will keep you in touch and open a PR when the fix will be ready. |
After investigations, this problem seems to be caused by Unfortunately The only solution I see is to use the Using this new field means stop using |
@FlorianLaunay sounds great. |
Please confirm the following
Bug Summary
Hi,
If we try to run
helm upgrade
for awx-operator for example from 0.28.0 to 0.29.0 version update is failing with the following error:The reason for this is a version label used in deployment selector:
Deployment selector labels are immutable and can't be changed during upgrade https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#label-selector-updates
In our case this selector changes from one version to another
AWX Operator version
0.28.0
AWX version
21.5.0
Kubernetes platform
kubernetes
Kubernetes/Platform version
1.23.5
Modifications
no
Steps to reproduce
run helm upgrade for awx-operator
Expected results
deployment upgraded
Actual results
upgrade fails with
Additional information
No response
Operator Logs
No response
The text was updated successfully, but these errors were encountered: