Skip to content

Commit 9a71954

Browse files
authored
Merge pull request #4380 from mudit06mah/DeploymentFix
Templates: Deployment: Fixed Deployment.yaml
2 parents fd4d771 + ab04a3c commit 9a71954

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

charts/headlamp/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ spec:
212212
{{- end }}
213213
{{- if $oidc.useAccessToken }}
214214
- name: OIDC_USE_ACCESS_TOKEN
215-
value: {{ $oidc.useAccessToken }}
215+
value: {{ $oidc.useAccessToken | quote }}
216216
{{- end }}
217217
{{- if $oidc.usePKCE }}
218218
- name: OIDC_USE_PKCE

charts/headlamp/tests/expected_templates/oidc-validator-overrides.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ spec:
111111
- name: OIDC_VALIDATOR_ISSUER_URL
112112
value: overriddenIssuerURL
113113
- name: OIDC_USE_ACCESS_TOKEN
114-
value: true
114+
value: "true"
115115
args:
116116
- "-in-cluster"
117117
- "-in-cluster-context-name=main"

0 commit comments

Comments
 (0)