Skip to content

Commit

Permalink
Remove validation
Browse files Browse the repository at this point in the history
  • Loading branch information
sggerard committed Oct 31, 2024
1 parent 760afb2 commit ae039f0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions charts/app/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ app.kubernetes.io/name: {{ include "fullname" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

{{- define "validation" -}}
{{- if and (not .Values.crunchy.enabled) (not .Values.bitnamipg.enabled ) }}
{{- fail "Both Database options are disabled" }}
{{- end }}
{{- if and (.Values.crunchy.enabled) (.Values.bitnamipg.enabled) }}
{{- fail "Both Database options are enabled" }}
{{- end }}
Expand Down

0 comments on commit ae039f0

Please sign in to comment.