-
Notifications
You must be signed in to change notification settings - Fork 23
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
Make all Deployment related Helm values global #387
Make all Deployment related Helm values global #387
Conversation
…l scope Deprecate the original `app.webhook` scoped values. Signed-off-by: Richard Wall <richard.wall@venafi.com>
Signed-off-by: Richard Wall <richard.wall@venafi.com>
Signed-off-by: Richard Wall <richard.wall@venafi.com>
…ped value Signed-off-by: Richard Wall <richard.wall@venafi.com>
45c28a3
to
43c2348
Compare
@inteon How can I fix this error?
|
cert-manager/helm-tool#27 Signed-off-by: Richard Wall <richard.wall@venafi.com>
@@ -77,15 +77,15 @@ spec: | |||
|
|||
hostNetwork: {{ .Values.app.webhook.hostNetwork }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wallrj does it make sense that hostNetwork
and dnsPolicy
remain as options under the webhook value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I noticed those. Probably not. I'll move those too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Deprecate the original `app.webhook` scoped values. Signed-off-by: Richard Wall <richard.wall@venafi.com>
Signed-off-by: Richard Wall <richard.wall@venafi.com>
Signed-off-by: Richard Wall <richard.wall@venafi.com>
Signed-off-by: Richard Wall <richard.wall@venafi.com>
For backwards compatibility for users who are using the deprecated field values. Signed-off-by: Richard Wall <richard.wall@venafi.com>
@inteon PTAL
|
value missing from templates: tolerations | ||
value missing from templates: affinity | ||
value missing from templates: nodeSelector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The helm-tool lint
command did not have problems with hostNetwork
or dnsPolicy
for some reason. Perhaps because those variables are not used in with ...
statements in the templates.
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @wallrj. I verified a few of the values, and it seems to work as expected.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: inteon 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 |
Some Deployment related Helm chart values are currently nested under
app.webhook
, which is confusing because the webhook and the controller are both part of a single Deployment.It's inconsistent with other Deployment related global Helm values in this chart such as resources and volumes and volumeMounts.
It is also inconsistent with the same Helm values in trust-manager, which are global.
https://github.com/cert-manager/trust-manager/blob/34bb21e768695b4503e8e831e99f5d5ffb53f441/deploy/charts/trust-manager/values.yaml#L110-L135
Testing
Deprecation warnings
Without values
Using global values
Using deprecated values