Skip to content

Commit

Permalink
Merge pull request #2 from maxion-tech/add-helm-zrenderer
Browse files Browse the repository at this point in the history
fix vault
  • Loading branch information
Nammxn authored Aug 13, 2024
2 parents f769fe0 + 16b9a7f commit c2e05e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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.data.admintoken }},Auto-generated Admin tokens,admin
1,{{ .Data.data.usertoken }},{{ .Data.data.admintoken }},createAccessTokens,revokeAccessTokens,modifyAccessTokens,readAccessTokens,readHealth
{{ "{{- end -}}" }}
{{- end -}}
{{- end }}
{{- with .Values.podAnnotations }}
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit c2e05e2

Please sign in to comment.