You've already forked helm-generic-chart
generated from public/repo-template
All checks were successful
Publish Helm Chart / Build and publish Helm chart (push) Successful in 5s
19 lines
455 B
YAML
19 lines
455 B
YAML
{{- if .Values.vault }}
|
|
{{- if .Values.vault.imagePullSecret }}
|
|
apiVersion: secrets.hashicorp.com/v1beta1
|
|
kind: VaultStaticSecret
|
|
metadata:
|
|
name: imagepull
|
|
spec:
|
|
type: kv-v2
|
|
mount: {{ .Values.vault.mount }}
|
|
path: {{ .Values.vault.imagePullSecret.path }}
|
|
destination:
|
|
name: {{ .Values.vault.imagePullSecret.name }}
|
|
create: true
|
|
type: kubernetes.io/dockerconfigjson
|
|
refreshAfter: 30s
|
|
vaultAuthRef: vault-auth
|
|
{{- end }}
|
|
{{- end }}
|