Skip to content

Commit d49ce6a

Browse files
committedJul 21, 2021
Update olm and catalog deployment templates
The catalog deployment template only sets the readiness and liveness probes to HTTPS Scheme if the values.catalog.tlsKeyPath and values.catalog.tlsCertPath configurations are provided. These values should be set when the values.catalog.tlsSecret configuration is set The olm deployment template is also updated to use HTTPS when values.olm.tlsSecret is set. Signed-off-by: Alexander Greene <[email protected]>
1 parent 3519a2a commit d49ce6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎deploy/chart/templates/0000_50_olm_08-catalog-operator.deployment.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ spec:
8181
httpGet:
8282
path: /healthz
8383
port: {{ .Values.catalog.service.internalPort }}
84-
scheme: {{ if and .Values.catalog.tlsKeyPath .Values.catalog.tlsCertPath }}HTTPS{{ else }}HTTP{{end}}
84+
scheme: {{ if .Values.catalog.tlsSecret }}HTTPS{{ else }}HTTP{{end}}
8585
readinessProbe:
8686
httpGet:
8787
path: /healthz
8888
port: {{ .Values.catalog.service.internalPort }}
89-
scheme: {{ if and .Values.catalog.tlsKeyPath .Values.catalog.tlsCertPath }}HTTPS{{ else }}HTTP{{end}}
89+
scheme: {{ if .Values.catalog.tlsSecret }}HTTPS{{ else }}HTTP{{end}}
9090
terminationMessagePolicy: FallbackToLogsOnError
9191
{{- if .Values.catalog.resources }}
9292
resources:

0 commit comments

Comments
 (0)
Please sign in to comment.