Initial commit
This commit is contained in:
9
templates/01-consistency-checks.yaml
Normal file
9
templates/01-consistency-checks.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
{{- if .Values.enabled -}}
|
||||
|
||||
{{- if or (empty .Values.existingSecret) (empty .Values.existingSecretKey) -}}
|
||||
{{- fail "existingSecret and existingSecretKey are required when provisioning is disabled" -}}
|
||||
{{- end -}}
|
||||
{{- if not .Values.giteaRootURL -}}
|
||||
{{- fail "giteaRootURL is required" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
Reference in New Issue
Block a user