helm: force app creds in GCP CCM (#3822)

This commit is contained in:
Markus Rudy 2025-05-09 11:19:38 +02:00 committed by GitHub
parent 823c891135
commit 04a5cdf6b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 2 deletions

View file

@ -5,5 +5,11 @@ metadata:
name: gceconf
namespace: {{ .Release.Namespace }}
data:
gce.conf: "[global]\nproject-id = {{.Values.GCP.projectID }}\nuse-metadata-server = true\nnode-tags = constellation-{{ .Values.GCP.uid }}\nregional = true\n"
gce.conf: |
[global]
project-id = {{.Values.GCP.projectID }}
use-metadata-server = true
node-tags = constellation-{{ .Values.GCP.uid }}
regional = true
token-url = nil # This forces use of GOOGLE_APPLICATION_CREDENTIALS.
{{- end -}}

View file

@ -4,4 +4,4 @@ metadata:
name: gceconf
namespace: testNamespace
data:
gce.conf: "[global]\nproject-id = 42424242424242\nuse-metadata-server = true\nnode-tags = constellation-242424242424\nregional = true\n"
gce.conf: "[global]\nproject-id = 42424242424242\nuse-metadata-server = true\nnode-tags = constellation-242424242424\nregional = true\ntoken-url = nil # This forces use of GOOGLE_APPLICATION_CREDENTIALS."