Commit f5717a62 authored by William Tucker's avatar William Tucker
Browse files

Added boolean toggle for TLS config

parent 95e368d1
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 .Capabilities.APIVersions.Has "security.openshift.io/v1" }}
{{- if (or .Values.ingress.tls.enabled .Capabilities.APIVersions.Has "security.openshift.io/v1" ) }}
tls:
  - hosts:
      - {{ .Values.hostname | quote }}
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ ingress:
  authSignin:
  # TLS configuration
  tls:
    enabled: false
    # Either give the name of an existing TLS secret
    # See https://kubernetes.io/docs/concepts/services-networking/ingress/#tls
    secretName: