Catch legacy config keys

This commit is contained in:
Jonathan Gazeley 2021-09-14 20:49:09 +01:00
parent 82dda7a136
commit c5e4f2b228

View file

@ -18,6 +18,10 @@ postgres://{{ .Values.postgresql.postgresqlUsername }}:{{ .Values.postgresql.pos
{{- end -}}
{{- end -}}
{{- if .Values.database.user -}}
{{ fail "You are using the old database config key - please migrate to the new postgresql config key" }}
{{- end -}}
{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).