Formatting the secret as JSON

This commit is contained in:
Jack Jackson 2025-04-18 12:51:18 -07:00
parent 6aba9bf11b
commit 1e767ec1eb

View File

@ -39,12 +39,13 @@ serviceAccount:
name: ""
podAnnotations:
vault.hashicorp.com/agent-inject: "true"
vault.hashicorp.com/agent-inject-status: update
vault.hashicorp.com/role: "edh-elo"
vault.hashicorp.com/agent-inject-secret-google-credentials.json: "edh-elo/data/google-credentials"
# vault.hashicorp.com/agent-inject-template-google-credentials.json: |
# {{- with secret "edh-elo/data/google-credentials" -}}
# {{- .Data | b64enc -}}
# {{- end -}}
vault.hashicorp.com/agent-inject-template-google-credentials.json: |
{{- with secret "edh-elo/data/google-credentials" -}}
{{- .Data.data | toJSON -}}
{{- end -}}
podSecurityContext: {}
# fsGroup: 2000