Skip to content

Commit aa687ed

Browse files
awgreenekevinrizza
authored andcommitted
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]> Upstream-repository: operator-lifecycle-manager Upstream-commit: d49ce6af813089f176d0f101bf55df4dba25c5d9
1 parent 327d247 commit aa687ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

staging/operator-lifecycle-manager/deploy/chart/templates/0000_50_olm_08-catalog-operator.deployment.yaml

Lines changed: 2 additions & 2 deletions
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)