Skip to content

Commit c03f4b6

Browse files
author
Matt Welke
committed
Removed unused properties from chart defaults. When webhook patching is disabled, the other properties are unused. For example, {{- with .Values.admissionWebhooks.patch.tolerations }} is nested within {{- if and .Values.admissionWebhooks.enabled .Values.admissionWebhooks.patch.enabled (not .Values.admissionWebhooks.certManager.enabled) }}.
1 parent 42c3697 commit c03f4b6

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

packs/oam-app-controller-0.0.4/values.yaml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -164,18 +164,11 @@ charts:
164164
certificate:
165165
mountPath: /etc/k8s-webhook-certs
166166
patch:
167-
enabled: true
168-
image:
169-
repository: cgr.dev/chainguard/kube-webhook-certgen
170-
tag: latest
171-
pullPolicy: IfNotPresent
172-
nodeSelector: {}
173-
affinity: {}
174-
tolerations: []
167+
enabled: false
175168
appConversion:
176169
enabled: false
177170
certManager:
178-
enabled: false
171+
enabled: true
179172
revisionHistoryLimit: 3
180173

181174
## @param kubeClient.qps The qps for reconcile clients

0 commit comments

Comments
 (0)