Skip to content

Commit 89c2cda

Browse files
committed
fix admission deployment
1 parent c92c765 commit 89c2cda

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • charts/gardener-extension-admission-traefik/charts/runtime/templates

charts/gardener-extension-admission-traefik/charts/runtime/templates/deployment.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ spec:
3838
command:
3939
- /usr/local/bin/extension-traefik
4040
- webhook
41-
- --webhook-config-server-port={{ .Values.webhookConfig.serverPort }}
41+
- --extension-name={{ include "name" . }}
42+
- --webhook-server-port={{ .Values.webhookConfig.serverPort }}
4243
{{- if .Values.gardener.virtualCluster.enabled }}
4344
- --webhook-config-mode=url
4445
- --webhook-config-url={{ printf "%s.%s" (include "name" .) (.Release.Namespace) }}
@@ -58,7 +59,7 @@ spec:
5859
{{- if .Values.metricsPort }}
5960
- --metrics-bind-address=:{{ .Values.metricsPort }}
6061
{{- end }}
61-
- --health-bind-address=:{{ .Values.healthPort }}
62+
- --health-probe-bind-address=:{{ .Values.healthPort }}
6263
- --leader-election-id={{ include "leaderelectionid" . }}
6364
securityContext:
6465
allowPrivilegeEscalation: false

0 commit comments

Comments
 (0)