Skip to content

Commit 0efddf2

Browse files
lilyz-aiclaude
andcommitted
fix: correct securityContext rendering in temporal Helm template
The temporal deployment template used `$security_context | nindent` directly on a map value, causing a Helm type error. Use the same `{{- with $security_context }} securityContext: {{- toYaml . | nindent }} {{- end }}` pattern as the other endpoint type templates. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 04729ce commit 0efddf2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

charts/model-engine/templates/service_template_config_map.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,10 @@ data:
474474
priorityClassName: ${PRIORITY}
475475
containers:
476476
- name: main
477-
{{- $security_context | nindent 14 }}
477+
{{- with $security_context }}
478+
securityContext:
479+
{{- toYaml . | nindent 16 }}
480+
{{- end }}
478481
image: ${IMAGE}
479482
imagePullPolicy: IfNotPresent
480483
command: ${COMMAND}

0 commit comments

Comments
 (0)