Add vault-secrets-webhook

This commit is contained in:
2023-10-06 21:28:26 +08:00
parent 81112fcf2f
commit 494a256132
16 changed files with 1669 additions and 0 deletions
@@ -0,0 +1,13 @@
{{/* this file is for generating warnings about incorrect usage of the chart */}}
{{- if .Values.certificate.generate }}
{{- if .Values.certificate.useCertManager }}
{{ fail "It is not allowed to both set certificate.generate=true and certificate.useCertManager=true."}}
{{- end }}
{{- end }}
{{- if .Values.webhookClientConfig.useUrl -}}
{{- if or (not .Values.webhookClientConfig.url ) }}
{{ fail "When webhookClientConfig.useUrl=true webhookClientConfig.url should be set and not empty "}}
{{- end }}
{{- end }}