Add vault-secrets-webhook
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user