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:
18
templates/dockerconfig.yaml
Normal file
18
templates/dockerconfig.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
{{- 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 }}
|
||||
Reference in New Issue
Block a user