-
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
Emit event message for ingresses which include a configuration snippet when snippets are disabled #7893
Comments
/triage accepted |
Do you have the admission webhook disabled? I was testing this with a local cluster and a default install. The admission webhook did not create the ingress object.
|
I double-checked and, indeed, I do have the validating webhook enabled. I'll have to investigate why it's not doing the proper thing in my test environment. I do think emitting and event message for this would be useful in any case. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
@brross any update? |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/lifecycle frozen |
This issue is labeled with You can:
For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/ /remove-triage accepted |
This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The 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. |
When snippets are disabled by
allow-snippet-annotations: false
, ingress-nginx should emit an event message for ingresses which include a configuration snippet annotation.Perhaps something like
$ingress created but ignoring configuration-snippet annotation; snippet-by-annotation is disabled
Currently, with
allow-snippet-annotations: false
, ingress-nginx creates the requested ingress resource but silently ignores any-snippet
annotation creating confusion for end-users.This is related to the fix for Issue kubernetes/kubernetes#126811 introduced in PRs #7666 and #7670
The text was updated successfully, but these errors were encountered: