diff --git a/charts/cryostat/templates/service.yaml b/charts/cryostat/templates/service.yaml index bfadcf62..d491ca65 100644 --- a/charts/cryostat/templates/service.yaml +++ b/charts/cryostat/templates/service.yaml @@ -17,9 +17,11 @@ spec: targetPort: 4180 protocol: TCP name: cryostat-http + {{- if (.Values.authentication.openshift).enabled }} - port: 443 targetPort: 8443 protocol: TCP name: cryostat-https + {{- end }} selector: {{- include "cryostat.selectorLabels" $ | nindent 4 }}