diff --git a/charts/zrenderer/templates/deployment.yaml b/charts/zrenderer/templates/deployment.yaml index 4824023..b3395b4 100644 --- a/charts/zrenderer/templates/deployment.yaml +++ b/charts/zrenderer/templates/deployment.yaml @@ -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 }}