Unverified Commit 6eab6faa authored by William Tucker's avatar William Tucker Committed by GitHub
Browse files

Simplified the ingress TLS if statement

parent f5717a62
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -117,7 +117,7 @@ The produced mounts will always be read-only.
Generate TLS config for ingress.
*/}}
{{- define "esgf.ingress.tls" }}
{{- if (or .Values.ingress.tls.enabled .Capabilities.APIVersions.Has "security.openshift.io/v1" ) }}
{{- if .Values.ingress.tls.enabled }}
tls:
  - hosts:
      - {{ .Values.hostname | quote }}