diff --git a/charts/openyurt/templates/yurt-manager.yaml b/charts/openyurt/templates/yurt-manager.yaml index 238e309422b..4d5cfee2a1c 100644 --- a/charts/openyurt/templates/yurt-manager.yaml +++ b/charts/openyurt/templates/yurt-manager.yaml @@ -62,6 +62,9 @@ spec: image: {{ .Values.yurtManager.image.repository }}:{{ .Values.yurtManager.image.tag }} imagePullPolicy: Always name: yurt-manager + env: + - name: WEBHOOK_PORT + value: {{ .Values.yurtManager.webhook.port }} ports: - containerPort: {{ .Values.yurtManager.webhook.port }} name: webhook-server diff --git a/charts/openyurt/values.yaml b/charts/openyurt/values.yaml index d95d44b20af..809a7aedc52 100644 --- a/charts/openyurt/values.yaml +++ b/charts/openyurt/values.yaml @@ -44,11 +44,11 @@ yurtManager: repository: openyurt/yurt-manager tag: v1.2.0 webhook: - port: 9876 + port: 10270 metrics: - port: 10250 + port: 10271 healthProbe: - port: 8000 + port: 10272 # resources of yurt-manager container resources: limits: