10 lines
346 B
YAML
10 lines
346 B
YAML
{{- 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 -}}
|