-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Canary ingress conflict with existing ingress when canary annotation set to "false" #6825
Comments
@vorozhko by setting Not sure exactly what are you expecting here. The error you see is right. |
How can I disable canary without deleting canary ingress? |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
Hi @iamNoah1, the issue initially affected Flagger fluxcd/flagger#787, but it was resolved few week ago. The workaround was to delete canary ingress instead of setting it false. |
Rotten issues close after 30d of inactivity. Send feedback to sig-contributor-experience at kubernetes/community. |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
NGINX Ingress controller version: v0.43
Kubernetes version (use
kubectl version
):Server Version: version.Info{Major:"1", Minor:"16+", GitVersion:"v1.16.15-gke.6000", GitCommit:"b02f5ea6726390a4b19d06fa9022981750af2bbc", GitTreeState:"clean", BuildDate:"2020-11-18T09:16:22Z", GoVersion:"go1.13.15b4", Compiler:"gc", Platform:"linux/amd64"}
Environment:
uname -a
):What happened:
Ingress validation webhook don't allow updates to "main" ingress when "canary" ingress annotation set to "false".
What you expected to happen:
Even though Canary ingress has
nginx.ingress.kubernetes.io/canary: "false"
it should be still possible to update main ingress without any problem.How to reproduce it:
Install minikube/kind
Install the ingress controller
kubectl apply -f https://github.com/kubernetes/ingress-nginx/blob/master/deploy/static/provider/cloud/deploy.yaml
Create an ingress
Create Canary ingress first with
canary:false
Create Main ingress
Anything else we need to know:
Canary ingress check is based on a value of canary annotation. As defined here
Checking canary annotation string instead of value will solve this issue.
/kind bug
The text was updated successfully, but these errors were encountered: