-
Notifications
You must be signed in to change notification settings - Fork 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
Webhook feature gates only set if controller feature gates are #6346
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Comments
Hi, yes, that's a bug, we fixed a related bug in #6093 but looks like missed that line. Would you like to submit a fix? |
irbekrm
added
the
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
label
Sep 15, 2023
irbekrm
added
the
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
label
Sep 24, 2023
Hey @irbekrm!! |
asapekia
added a commit
to asapekia/cert-manager
that referenced
this issue
Sep 30, 2023
asapekia
added a commit
to asapekia/cert-manager
that referenced
this issue
Sep 30, 2023
Signed-off-by: Arin <136636751+asapekia@users.noreply.github.com>
jetstack-bot
added a commit
that referenced
this issue
Oct 1, 2023
BUGFIX[helm]: Fix issue where webhook feature gates were only set if controller feature gates are set (closes #6346)
jetstack-bot
pushed a commit
to jetstack-bot/cert-manager
that referenced
this issue
Oct 1, 2023
Signed-off-by: Arin <136636751+asapekia@users.noreply.github.com>
jetstack-bot
added a commit
that referenced
this issue
Oct 2, 2023
…e-1.13 [release-1.13] BUGFIX[helm]: Fix issue where webhook feature gates were only set if controller feature gates are set (closes #6346)
kangsheng89
pushed a commit
to kangsheng89/cert-manager
that referenced
this issue
Dec 1, 2023
Signed-off-by: Arin <136636751+asapekia@users.noreply.github.com>
logand22
pushed a commit
to gravitational/cert-manager
that referenced
this issue
Mar 8, 2024
Signed-off-by: Arin <136636751+asapekia@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Describe the bug:
Pretty sure this isn't intentional and probably just a typo in the chart.
cert-manager/deploy/charts/cert-manager/templates/webhook-deployment.yaml
Lines 78 to 80 in d34bd7a
The
--feature-gates
flag in the webhook template is correctly being set to the.Values.webhook.featureGates
, but the entire statement is guarded by a check that the controller feature gates exist (.Values.featureGates
). Are webhook feature gates subordinate to controller feature gates? If you want to apply feature gates to the webhook but not the controller, you can't because of this.Expected behaviour:
I would expect to be able to apply discrete feature gates to both the controller and the webhook. If I want to enable A in the controller and B in the webhook I can; but if I want to apply only B in the webhook I cannot because the template requires that the controller have a feature gate applied as well.
Steps to reproduce the bug:
--set webhook.featureGates=example
should apply the feature gate flag and 'example' to the webhook, but it does not because the controller does not have any feature gates applied.Anything else we need to know?:
As mentioned, I think this is just a typo in the template (eg should be
{{- if .Values.webhook.featureGates }}
) or I'm just confused about how feature gates work and you can't have webhook features without having controller features. 🤷🏼Environment details::
/kind bug
The text was updated successfully, but these errors were encountered: