18 lines
952 B
YAML
18 lines
952 B
YAML
{{- if .Values.encryption.enabled }}
|
|
{{- if .Values.authorization.enabled }}
|
|
{{- fail "Encryption cannot be enabled in tandem with Authorization. Please adjust your values.yaml to disable one or the other" }}
|
|
{{- end }}
|
|
{{- if .Values.controller.replication.enabled }}
|
|
{{- fail "Encryption cannot be enabled in tandem with Replication. Please adjust your values.yaml to disable one or the other" }}
|
|
{{- end }}
|
|
{{- if .Values.controller.healthMonitor.enabled }}
|
|
{{- fail "Encryption cannot be enabled in tandem with Health Monitor. Please adjust your values.yaml to disable one or the other" }}
|
|
{{- end }}
|
|
{{- if .Values.podmon.enabled }}
|
|
{{- fail "Encryption cannot be enabled in tandem with Pods Monitor. Please adjust your values.yaml to disable one or the other" }}
|
|
{{- end }}
|
|
{{- if ne (.Values.controller.controllerCount | toString | atoi ) 1 }}
|
|
{{- fail "Encryption can only be enabled with controller.controllerCount 1" }}
|
|
{{- end }}
|
|
{{- end }}
|