From 54e11da9d77b81b5f970ef7382e0bd88f7bdd5bf Mon Sep 17 00:00:00 2001 From: subhash-0000 Date: Tue, 20 Jan 2026 13:42:38 +0530 Subject: [PATCH] Fix missing templating in API server extraInitContainers The apiServer.extraInitContainers configuration was documented as templated in values.yaml but the template did not use the tpl function, preventing Helm templating from working correctly. This change wraps the toYaml expression with tpl, making it consistent with all other workloads (scheduler, webserver, triggerer, workers, dag-processor, and jobs). Fixes #60780 --- chart/templates/api-server/api-server-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chart/templates/api-server/api-server-deployment.yaml b/chart/templates/api-server/api-server-deployment.yaml index 96bbdd984b230..0d3d8c0cdd38c 100644 --- a/chart/templates/api-server/api-server-deployment.yaml +++ b/chart/templates/api-server/api-server-deployment.yaml @@ -151,7 +151,7 @@ spec: {{- end }} {{- end }} {{- if .Values.apiServer.extraInitContainers }} - {{- toYaml .Values.apiServer.extraInitContainers | nindent 8 }} + {{- tpl (toYaml .Values.apiServer.extraInitContainers) . | nindent 8 }} {{- end }} containers: - name: api-server