Commit 0cdd8c8
Use --set-string for testMode to force string type
Change from --set to --set-string for testMode to ensure it's always
a string and has higher precedence over values from GCloud secrets.
Update template to use toString filter and string comparison:
{{- if or .Values.localDeploy (eq (.Values.testMode | toString) "true") }}
This handles the case where GCloud secrets might set testMode to false
or null, which would not be properly overridden by --set.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 6dbc7bb commit 0cdd8c8
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | | - | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| |||
0 commit comments