Skip to content
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

delete operator deployment during upgrade #72

Open
vas777 opened this issue Sep 19, 2024 · 0 comments
Open

delete operator deployment during upgrade #72

vas777 opened this issue Sep 19, 2024 · 0 comments

Comments

@vas777
Copy link

vas777 commented Sep 19, 2024

kubectl delete deployment.apps/scone-controller-manager

to avoid

Error: UPGRADE FAILED: failed to replace object: Deployment.apps "scone-controller-manager" is invalid: spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"scone-controller", "app.kubernetes.io/name":"scone-controller", "control-plane":"controller-manager"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}: field is immutable
"helm upgrade --install scone-operator ./scone-operator --force --namespace $NAMESPACE --version $VERSION --set image=$PULL_IMAGE" command failed - exiting.

noticed with

rc.2. to rc.3 
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

1 participant