Skip to content
Snippets Groups Projects
Unverified Commit 6eab6faa authored by William Tucker's avatar William Tucker Committed by GitHub
Browse files

Simplified the ingress TLS if statement

parent f5717a62
No related branches found
No related tags found
No related merge requests found
Pipeline #594305 failed
......@@ -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 }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment