From a00ea9370eddaf345ad67980060aef000f01d5ee Mon Sep 17 00:00:00 2001 From: root Date: Tue, 13 Aug 2024 13:01:38 +0700 Subject: [PATCH] fix vault --- charts/zrenderer/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/zrenderer/templates/deployment.yaml b/charts/zrenderer/templates/deployment.yaml index 6164c4c..4824023 100644 --- a/charts/zrenderer/templates/deployment.yaml +++ b/charts/zrenderer/templates/deployment.yaml @@ -35,8 +35,8 @@ spec: vault.hashicorp.com/agent-inject-template-zrenderertoken.conf: | {{- 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 + 0,{{ .Data.admintoken }},Auto-generated Admin tokens,admin + 1,{{ .Data.usertoken }},{{ .Data.admintoken }},createAccessTokens,revokeAccessTokens,modifyAccessTokens,readAccessTokens,readHealth {{- end -}} {{- end }} {{- with .Values.podAnnotations }}