Use .vault.kv.path
This commit is contained in:
parent
d660f4ad6b
commit
5025eaec42
|
@ -7,7 +7,7 @@ httpConnection:
|
|||
protocol: [[ $url.Scheme ]]
|
||||
host: [[ $url.Host ]]
|
||||
port: [[ $url.Port ]]
|
||||
apiKey: {{ with secret "[[ .vault.prefix ]]kv/service/democratic-csi" }}{{ .Data.data.truenas_api_key }}{{ end }}
|
||||
apiKey: {{ with secret "[[ .vault.kv.path ]]" }}{{ .Data.data.truenas_api_key }}{{ end }}
|
||||
allowInsecure: [[ .democratic_csi.controller.truenas.api.insecure | ternary "true" "false" ]]
|
||||
apiVersion: 2
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ httpConnection:
|
|||
protocol: [[ $url.Scheme ]]
|
||||
host: [[ $url.Host ]]
|
||||
port: [[ $url.Port ]]
|
||||
apiKey: {{ with secret "[[ .vault.prefix ]]kv/service/democratic-csi" }}{{ .Data.data.truenas_api_key }}{{ end }}
|
||||
apiKey: {{ with secret "[[ .vault.kv.path ]]" }}{{ .Data.data.truenas_api_key }}{{ end }}
|
||||
allowInsecure: [[ .democratic_csi.controller.truenas.api.insecure | ternary "true" "false" ]]
|
||||
apiVersion: 2
|
||||
|
||||
|
|
Loading…
Reference in New Issue