Skip to content

Commit f1a3e5d

Browse files
committed
Update OLM Deployment template
The olm deployment template will only use HTTPS when values.olm.tlsSecret is set in the values.yaml file. Signed-off-by: Alexander Greene <[email protected]>
1 parent 3519a2a commit f1a3e5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deploy/chart/templates/0000_50_olm_07-olm-operator.deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ spec:
8787
httpGet:
8888
path: /healthz
8989
port: {{ .Values.olm.service.internalPort }}
90-
scheme: {{ if or .Values.olm.tlsSecret .Values.olm.clientCASecret }}HTTPS{{ else }}HTTP{{end}}
90+
scheme: {{ if .Values.olm.tlsSecret }}HTTPS{{ else }}HTTP{{end}}
9191
readinessProbe:
9292
httpGet:
9393
path: /healthz
9494
port: {{ .Values.olm.service.internalPort }}
95-
scheme: {{ if or .Values.olm.tlsSecret .Values.olm.clientCASecret }}HTTPS{{ else }}HTTP{{end}}
95+
scheme: {{ if .Values.olm.tlsSecret }}HTTPS{{ else }}HTTP{{end}}
9696
terminationMessagePolicy: FallbackToLogsOnError
9797
env:
9898
- name: OPERATOR_NAMESPACE

0 commit comments

Comments
 (0)