-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Allow Helm Chart to customize admission webhook's annotations, timeoutSeconds, namespaceSelector, objectSelector and cert files locations #6260
Conversation
Welcome @kolorful! |
Hi @kolorful. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/hold |
Hi @ChiefAlexander and @ElvinEfendi, it would be very appreciated if you could take a look at this code change :) |
/assign @ChiefAlexander |
Why'd you put this onhold @aledbf? |
Because when I am preparing a release (last Friday) and for a couple of days (just in case a new version is required) all PRs ready to merge are put on hold. |
Interesting. If I lgtm would that override your hold? |
/ok-to-test |
No, tide waits until all the conditions are met |
/lgtm |
Thank you! |
@kolorful, please increase the version of the chart. Otherwise, the change will not publish a new release. Thanks |
@aledbf rebased master, bumped chart version to |
This is a new feature. Please use 3.5.0 |
…tSeconds, namespaceSelector, objectSelector and cert files locations
updated to 3.5.0 :) |
/lgtm |
@kolorful thanks! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aledbf, ChiefAlexander, kolorful The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
update: should be resolved in #6299 |
@kolorful fixed |
This PR allows Helm Chart to customize admission webhook's annotations, timeoutSeconds, namespaceSelector, objectSelector and cert files locations.
What this PR does / why we need it:
This PR adds following capabilities to the ingress-nginx Helm Chart:
--validating-webhook-certificate
and--validating-webhook-key
in Deployment and DaemontSet.--namespace $NAMESPACE
ingenerate-deploy-scripts.sh
Why:
timeoutSeconds
customizable, since it's a super useful setting.--namespace $NAMESPACE
ingenerate-deploy-scripts.sh
, so I just went ahead and fixed it.ingress-nginx/hack/generate-deploy-scripts.sh
Line 56 in 9c94d77
Types of changes
How Has This Been Tested?
generate-deploy-scripts.sh
to make sure generated static yamls has the correct webhook related values.helm install -n ingress-nginx-internal --dry-run ingress-nginx ./charts/ingress-nginx/
before and after my change with different sets values and verified via the diff results that annotations and timeoutSeconds are added correctly when specified and are not added when not specified.With new value like:
The new outputs are:
ValidatingWebhookConfiguration
resourceDeployment
orDaemonSet
resourceChecklist: