File tree Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,21 @@ spec:
37
37
- -writeStatusName
38
38
- {{ .Values.writeStatusName }}
39
39
{{- end }}
40
+ {{- if .Values.olm.tlsCertPath }}
41
+ - -tls-cert
42
+ - {{ .Values.olm.tlsCertPath }}
43
+ {{- end }}
44
+ {{- if .Values.olm.tlsKeyPath }}
45
+ - -tls-key
46
+ - {{ .Values.olm.tlsKeyPath }}
47
+ {{- end }}
40
48
image : {{ .Values.olm.image.ref }}
41
49
imagePullPolicy : {{ .Values.olm.image.pullPolicy }}
42
50
ports :
43
51
- containerPort : {{ .Values.olm.service.internalPort }}
52
+ - containerPort : 8081
53
+ name : metrics
54
+ protocol : TCP
44
55
livenessProbe :
45
56
httpGet :
46
57
path : /healthz
64
75
resources :
65
76
{{ toYaml .Values.olm.resources | indent 12 }}
66
77
{{- end}}
78
+ volumeMounts :
79
+ - mountPath : /var/run/secrets/serving-cert
80
+ name : serving-cert
81
+ volumes :
82
+ - name : serving-cert
83
+ secret :
84
+ secretName : olm-operator-serving-cert
85
+ optional : true
67
86
{{- if .Values.olm.nodeSelector }}
68
87
nodeSelector :
69
88
{{ toYaml .Values.olm.nodeSelector | indent 8 }}
Original file line number Diff line number Diff line change @@ -39,10 +39,21 @@ spec:
39
39
- -writeStatusName
40
40
- {{ .Values.writeStatusNameCatalog }}
41
41
{{- end }}
42
+ {{- if .Values.olm.tlsCertPath }}
43
+ - -tls-cert
44
+ - {{ .Values.olm.tlsCertPath }}
45
+ {{- end }}
46
+ {{- if .Values.olm.tlsKeyPath }}
47
+ - -tls-key
48
+ - {{ .Values.olm.tlsKeyPath }}
49
+ {{- end }}
42
50
image : {{ .Values.catalog.image.ref }}
43
51
imagePullPolicy : {{ .Values.catalog.image.pullPolicy }}
44
52
ports :
45
53
- containerPort : {{ .Values.catalog.service.internalPort }}
54
+ - containerPort : 8081
55
+ name : metrics
56
+ protocol : TCP
46
57
livenessProbe :
47
58
httpGet :
48
59
path : /healthz
55
66
resources :
56
67
{{ toYaml .Values.catalog.resources | indent 12 }}
57
68
{{- end}}
69
+ volumeMounts :
70
+ - mountPath : /var/run/secrets/serving-cert
71
+ name : serving-cert
72
+ volumes :
73
+ - name : serving-cert
74
+ secret :
75
+ secretName : catalog-operator-serving-cert
76
+ optional : true
58
77
{{- if .Values.catalog.nodeSelector }}
59
78
nodeSelector :
60
79
{{ toYaml .Values.catalog.nodeSelector | indent 8 }}
Original file line number Diff line number Diff line change 18
18
node-role.kubernetes.io/master : " "
19
19
tolerations :
20
20
- operator : Exists
21
+ tlsCertPath : /var/run/secrets/serving-cert/tls.crt
22
+ tlsKeyPath : /var/run/secrets/serving-cert/tls.key
21
23
catalog :
22
24
replicaCount : 1
23
25
image :
You can’t perform that action at this time.
0 commit comments