Skip to content

Commit

Permalink
fix vault
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Aug 13, 2024
1 parent a00ea93 commit 7829f58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions charts/zrenderer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ spec:
vault.hashicorp.com/agent-requests-mem: {{ .Values.vault.requestMem }}
vault.hashicorp.com/agent-inject-secret-zrenderertoken.conf: {{ .Values.vault.secretPath }}
vault.hashicorp.com/agent-inject-template-zrenderertoken.conf: |
{{- with secret .Values.vault.secretPath -}}
{{- with secret .Values.vault.secretPath }}
1
0,{{ .Data.admintoken }},Auto-generated Admin tokens,admin
1,{{ .Data.usertoken }},{{ .Data.admintoken }},createAccessTokens,revokeAccessTokens,modifyAccessTokens,readAccessTokens,readHealth
{{- end -}}
0,{{ .Data.data.admintoken }},Auto-generated Admin tokens,admin
1,{{ .Data.data.usertoken }},{{ .Data.data.admintoken }},createAccessTokens,revokeAccessTokens,modifyAccessTokens,readAccessTokens,readHealth
{{ end -}}
{{- end }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit 7829f58

Please sign in to comment.