7e2aedfdc2
fix: https://gitea.com/gitea/helm-actions/issues/142 Reviewed-on: https://gitea.com/gitea/helm-actions/pulls/149 Reviewed-by: Nicolas <bircni@icloud.com> Co-authored-by: Daan <dselen@nerthus.nl> Co-committed-by: Daan <dselen@nerthus.nl>
9 lines
345 B
YAML
9 lines
345 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 -}}
|