You've already forked helm-generic-chart
generated from public/repo-template
init
All checks were successful
Publish Helm Chart / Build and publish Helm chart (push) Successful in 5s
All checks were successful
Publish Helm Chart / Build and publish Helm chart (push) Successful in 5s
This commit is contained in:
19
templates/secret-env.yaml
Normal file
19
templates/secret-env.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
{{- if .Values.vault }}
|
||||
{{- if .Values.vault.path }}
|
||||
apiVersion: secrets.hashicorp.com/v1beta1
|
||||
kind: VaultStaticSecret
|
||||
metadata:
|
||||
name: {{ .Values.name }}-env
|
||||
spec:
|
||||
type: kv-v2
|
||||
mount: {{ .Values.vault.mount }}
|
||||
path: {{ .Values.vault.path }}
|
||||
destination:
|
||||
name: {{ .Values.name }}-env
|
||||
create: true
|
||||
annotations:
|
||||
reloader.stakater.com/match: "true"
|
||||
refreshAfter: 30s
|
||||
vaultAuthRef: vault-auth
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user