Skip to content

Commit

Permalink
Update OLM Deployment template
Browse files Browse the repository at this point in the history
The olm deployment template will only use HTTPS when values.olm.tlsSecret is set
in the values.yaml file.

Signed-off-by: Alexander Greene <greene.al1991@gmail.com>
  • Loading branch information
awgreene committed Jul 21, 2021
1 parent 3519a2a commit f1a3e5d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ spec:
httpGet:
path: /healthz
port: {{ .Values.olm.service.internalPort }}
scheme: {{ if or .Values.olm.tlsSecret .Values.olm.clientCASecret }}HTTPS{{ else }}HTTP{{end}}
scheme: {{ if .Values.olm.tlsSecret }}HTTPS{{ else }}HTTP{{end}}
readinessProbe:
httpGet:
path: /healthz
port: {{ .Values.olm.service.internalPort }}
scheme: {{ if or .Values.olm.tlsSecret .Values.olm.clientCASecret }}HTTPS{{ else }}HTTP{{end}}
scheme: {{ if .Values.olm.tlsSecret }}HTTPS{{ else }}HTTP{{end}}
terminationMessagePolicy: FallbackToLogsOnError
env:
- name: OPERATOR_NAMESPACE
Expand Down

0 comments on commit f1a3e5d

Please sign in to comment.