Formatting the secret as JSON
This commit is contained in:
parent
6aba9bf11b
commit
1e767ec1eb
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user