Skip to content

Commit 7511f49

Browse files
committed
fix: Use helm variables for all webhook configurations
Previously, helm variables were used for only the first webhook configuration.
1 parent f2818d7 commit 7511f49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/update-webhook-configurations.yq

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ with(.metadata;
88
.name = "{{ include \"chart.name\" . }}-" + .name,
99
.annotations["cert-manager.io/inject-ca-from"] = "{{ .Release.Namespace}}/{{ template \"chart.name\" . }}-admission-tls"
1010
),
11-
with(.webhooks[0].clientConfig.service;
11+
with(.webhooks[].clientConfig.service;
1212
.name = "{{ include \"chart.name\" . }}-admission",
1313
.namespace = "{{ .Release.Namespace }}"
1414
)

0 commit comments

Comments
 (0)