From 7fb15c8f5dd3031ca2fcdcd96af05833babf0806 Mon Sep 17 00:00:00 2001 From: Lan Liang Date: Thu, 22 Aug 2024 04:48:17 +0000 Subject: [PATCH] env at helm --- kwok/charts/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kwok/charts/templates/deployment.yaml b/kwok/charts/templates/deployment.yaml index e08508bc72..fa8bb5132f 100644 --- a/kwok/charts/templates/deployment.yaml +++ b/kwok/charts/templates/deployment.yaml @@ -94,6 +94,10 @@ spec: value: "{{ .Values.controller.metrics.port }}" - name: HEALTH_PROBE_PORT value: "{{ .Values.controller.healthProbe.port }}" + - name: SYSTEM_NAMESPACE + valueFrom: + fieldRef: + fieldPath: metadata.namespace - name: MEMORY_LIMIT valueFrom: resourceFieldRef: