Skip to content

Commit 6dbc7bb

Browse files
davdhacsclaude
andcommitted
Revert to simple testMode boolean check
Revert from string comparison back to simple boolean check. The helm command order fix (--set after --values) ensures testMode is correctly set as boolean true, which works with the simple if condition. The previous string comparison attempt failed with: "error calling eq: incompatible types for comparison" because --set testMode=true sets it as a boolean, not a string. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 8eca401 commit 6dbc7bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chart/infra-server/templates/secrets.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ data:
116116
{{ end }}
117117
{{- end }}
118118

119-
{{- if or .Values.localDeploy (eq .Values.testMode "true") }}
119+
{{- if or .Values.localDeploy .Values.testMode }}
120120
---
121121
apiVersion: v1
122122
kind: Secret

0 commit comments

Comments
 (0)