12 lines
962 B
YAML
12 lines
962 B
YAML
|
|
{{- if and (and .Values.ingressController.enabled (not .Values.ingressController.operatorMode)) .Values.config.insecureProxy -}}
|
||
|
|
{{ fail "`ingressController.enabled` is not compatible with `config.insecureProxy`" }}
|
||
|
|
{{- end -}}
|
||
|
|
{{- if and .Values.ingressController.enabled (not (or .Values.config.generateTLS .Values.authenticate.ingress.tls.secretName )) -}}
|
||
|
|
{{- if not .Values.ingressController.ingressClassResource.defaultCertSecret -}}
|
||
|
|
{{ fail "A TLS certificate must be available for Authenticate when using the ingress controller. Please set `config.generateTLS`, `ingressController.ingressClassResource.defaultCertSecret` or `authenticate.ingress.tls.secretName"}}
|
||
|
|
{{- end -}}
|
||
|
|
{{- end -}}
|
||
|
|
{{- if and (and .Values.ingressController.enabled (not .Values.ingressController.operatorMode)) .Values.ingress.enabled -}}
|
||
|
|
{{ fail "`ingressController.enabled` is not compatible with `ingress.enabled` unless legacy `ingressController.operatorMode`" }}
|
||
|
|
{{- end -}}
|