File tree Expand file tree Collapse file tree 11 files changed +408
-26
lines changed
staging/operator-lifecycle-manager/pkg/lib/server Expand file tree Collapse file tree 11 files changed +408
-26
lines changed Original file line number Diff line number Diff line change 38
38
secretName : pprof-cert
39
39
- name : tmpfs
40
40
emptyDir : {}
41
+ - name : olm-operator-serving-cert
42
+ secret :
43
+ secretName : olm-operator-serving-cert
41
44
containers :
42
45
- name : olm-operator
43
46
securityContext :
@@ -74,17 +77,17 @@ spec:
74
77
image : quay.io/operator-framework/olm@sha256:de396b540b82219812061d0d753440d5655250c621c753ed1dc67d6154741607
75
78
imagePullPolicy : IfNotPresent
76
79
ports :
77
- - containerPort : 8443
80
+ - containerPort : 8080
78
81
name : metrics
79
82
livenessProbe :
80
83
httpGet :
81
84
path : /healthz
82
- port : 8443
85
+ port : 8080
83
86
scheme : HTTPS
84
87
readinessProbe :
85
88
httpGet :
86
89
path : /healthz
87
- port : 8443
90
+ port : 8080
88
91
scheme : HTTPS
89
92
terminationMessagePolicy : FallbackToLogsOnError
90
93
env :
@@ -100,6 +103,37 @@ spec:
100
103
requests :
101
104
cpu : 10m
102
105
memory : 160Mi
106
+ - args :
107
+ - --secure-listen-address=0.0.0.0:8443
108
+ - --upstream=https://127.0.0.1:8080/
109
+ - --tls-cert-file=/etc/tls/private/tls.crt
110
+ - --tls-private-key-file=/etc/tls/private/tls.key
111
+ - --upstream-ca-file=/srv-cert/tls.crt
112
+ - --logtostderr=true
113
+ image : quay.io/openshift/origin-kube-rbac-proxy:latest
114
+ imagePullPolicy : IfNotPresent
115
+ name : kube-rbac-proxy
116
+ securityContext :
117
+ allowPrivilegeEscalation : false
118
+ readOnlyRootFilesystem : true
119
+ capabilities :
120
+ drop : ["ALL"]
121
+ ports :
122
+ - containerPort : 8443
123
+ name : metrics
124
+ protocol : TCP
125
+ resources :
126
+ requests :
127
+ memory : 20Mi
128
+ cpu : 10m
129
+ terminationMessagePath : /dev/termination-log
130
+ terminationMessagePolicy : FallbackToLogsOnError
131
+ volumeMounts :
132
+ - mountPath : /etc/tls/private
133
+ name : olm-operator-serving-cert
134
+ - mountPath : /srv-cert
135
+ name : srv-cert
136
+ readOnly : true
103
137
nodeSelector :
104
138
kubernetes.io/os : linux
105
139
tolerations :
Original file line number Diff line number Diff line change 37
37
secretName : pprof-cert
38
38
- name : tmpfs
39
39
emptyDir : {}
40
+ - name : olm-operator-serving-cert
41
+ secret :
42
+ secretName : olm-operator-serving-cert
40
43
containers :
41
44
- name : olm-operator
42
45
securityContext :
@@ -73,17 +76,17 @@ spec:
73
76
image : quay.io/operator-framework/olm@sha256:de396b540b82219812061d0d753440d5655250c621c753ed1dc67d6154741607
74
77
imagePullPolicy : IfNotPresent
75
78
ports :
76
- - containerPort : 8443
79
+ - containerPort : 8080
77
80
name : metrics
78
81
livenessProbe :
79
82
httpGet :
80
83
path : /healthz
81
- port : 8443
84
+ port : 8080
82
85
scheme : HTTPS
83
86
readinessProbe :
84
87
httpGet :
85
88
path : /healthz
86
- port : 8443
89
+ port : 8080
87
90
scheme : HTTPS
88
91
terminationMessagePolicy : FallbackToLogsOnError
89
92
env :
@@ -99,6 +102,37 @@ spec:
99
102
requests :
100
103
cpu : 10m
101
104
memory : 160Mi
105
+ - args :
106
+ - --secure-listen-address=0.0.0.0:8443
107
+ - --upstream=https://127.0.0.1:8080/
108
+ - --tls-cert-file=/etc/tls/private/tls.crt
109
+ - --tls-private-key-file=/etc/tls/private/tls.key
110
+ - --upstream-ca-file=/srv-cert/tls.crt
111
+ - --logtostderr=true
112
+ image : quay.io/openshift/origin-kube-rbac-proxy:latest
113
+ imagePullPolicy : IfNotPresent
114
+ name : kube-rbac-proxy
115
+ securityContext :
116
+ allowPrivilegeEscalation : false
117
+ readOnlyRootFilesystem : true
118
+ capabilities :
119
+ drop : ["ALL"]
120
+ ports :
121
+ - containerPort : 8443
122
+ name : metrics
123
+ protocol : TCP
124
+ resources :
125
+ requests :
126
+ memory : 20Mi
127
+ cpu : 10m
128
+ terminationMessagePath : /dev/termination-log
129
+ terminationMessagePolicy : FallbackToLogsOnError
130
+ volumeMounts :
131
+ - mountPath : /etc/tls/private
132
+ name : olm-operator-serving-cert
133
+ - mountPath : /srv-cert
134
+ name : srv-cert
135
+ readOnly : true
102
136
nodeSelector :
103
137
kubernetes.io/os : linux
104
138
node-role.kubernetes.io/master : " "
Original file line number Diff line number Diff line change 38
38
secretName : pprof-cert
39
39
- name : tmpfs
40
40
emptyDir : {}
41
+ - name : catalog-operator-serving-cert
42
+ secret :
43
+ secretName : catalog-operator-serving-cert
41
44
containers :
42
45
- name : catalog-operator
43
46
securityContext :
@@ -75,17 +78,17 @@ spec:
75
78
image : quay.io/operator-framework/olm@sha256:de396b540b82219812061d0d753440d5655250c621c753ed1dc67d6154741607
76
79
imagePullPolicy : IfNotPresent
77
80
ports :
78
- - containerPort : 8443
81
+ - containerPort : 8080
79
82
name : metrics
80
83
livenessProbe :
81
84
httpGet :
82
85
path : /healthz
83
- port : 8443
86
+ port : 8080
84
87
scheme : HTTPS
85
88
readinessProbe :
86
89
httpGet :
87
90
path : /healthz
88
- port : 8443
91
+ port : 8080
89
92
scheme : HTTPS
90
93
terminationMessagePolicy : FallbackToLogsOnError
91
94
resources :
95
98
env :
96
99
- name : RELEASE_VERSION
97
100
value : " 0.0.1-snapshot"
101
+ - args :
102
+ - --secure-listen-address=0.0.0.0:8443
103
+ - --upstream=https://127.0.0.1:8080/
104
+ - --tls-cert-file=/etc/tls/private/tls.crt
105
+ - --tls-private-key-file=/etc/tls/private/tls.key
106
+ - --upstream-ca-file=/srv-cert/tls.crt
107
+ - --logtostderr=true
108
+ image : quay.io/openshift/origin-kube-rbac-proxy:latest
109
+ imagePullPolicy : IfNotPresent
110
+ name : kube-rbac-proxy
111
+ securityContext :
112
+ allowPrivilegeEscalation : false
113
+ readOnlyRootFilesystem : true
114
+ capabilities :
115
+ drop : ["ALL"]
116
+ ports :
117
+ - containerPort : 8443
118
+ name : metrics
119
+ protocol : TCP
120
+ resources :
121
+ requests :
122
+ memory : 20Mi
123
+ cpu : 10m
124
+ terminationMessagePath : /dev/termination-log
125
+ terminationMessagePolicy : FallbackToLogsOnError
126
+ volumeMounts :
127
+ - mountPath : /etc/tls/private
128
+ name : catalog-operator-serving-cert
129
+ - mountPath : /srv-cert
130
+ name : srv-cert
131
+ readOnly : true
98
132
nodeSelector :
99
133
kubernetes.io/os : linux
100
134
tolerations :
Original file line number Diff line number Diff line change 37
37
secretName : pprof-cert
38
38
- name : tmpfs
39
39
emptyDir : {}
40
+ - name : catalog-operator-serving-cert
41
+ secret :
42
+ secretName : catalog-operator-serving-cert
40
43
containers :
41
44
- name : catalog-operator
42
45
securityContext :
@@ -74,17 +77,17 @@ spec:
74
77
image : quay.io/operator-framework/olm@sha256:de396b540b82219812061d0d753440d5655250c621c753ed1dc67d6154741607
75
78
imagePullPolicy : IfNotPresent
76
79
ports :
77
- - containerPort : 8443
80
+ - containerPort : 8080
78
81
name : metrics
79
82
livenessProbe :
80
83
httpGet :
81
84
path : /healthz
82
- port : 8443
85
+ port : 8080
83
86
scheme : HTTPS
84
87
readinessProbe :
85
88
httpGet :
86
89
path : /healthz
87
- port : 8443
90
+ port : 8080
88
91
scheme : HTTPS
89
92
terminationMessagePolicy : FallbackToLogsOnError
90
93
resources :
94
97
env :
95
98
- name : RELEASE_VERSION
96
99
value : " 0.0.1-snapshot"
100
+ - args :
101
+ - --secure-listen-address=0.0.0.0:8443
102
+ - --upstream=https://127.0.0.1:8080/
103
+ - --tls-cert-file=/etc/tls/private/tls.crt
104
+ - --tls-private-key-file=/etc/tls/private/tls.key
105
+ - --upstream-ca-file=/srv-cert/tls.crt
106
+ - --logtostderr=true
107
+ image : quay.io/openshift/origin-kube-rbac-proxy:latest
108
+ imagePullPolicy : IfNotPresent
109
+ name : kube-rbac-proxy
110
+ securityContext :
111
+ allowPrivilegeEscalation : false
112
+ readOnlyRootFilesystem : true
113
+ capabilities :
114
+ drop : ["ALL"]
115
+ ports :
116
+ - containerPort : 8443
117
+ name : metrics
118
+ protocol : TCP
119
+ resources :
120
+ requests :
121
+ memory : 20Mi
122
+ cpu : 10m
123
+ terminationMessagePath : /dev/termination-log
124
+ terminationMessagePolicy : FallbackToLogsOnError
125
+ volumeMounts :
126
+ - mountPath : /etc/tls/private
127
+ name : catalog-operator-serving-cert
128
+ - mountPath : /srv-cert
129
+ name : srv-cert
130
+ readOnly : true
97
131
nodeSelector :
98
132
kubernetes.io/os : linux
99
133
node-role.kubernetes.io/master : " "
Original file line number Diff line number Diff line change 38
38
secretName : pprof-cert
39
39
- name : tmpfs
40
40
emptyDir : {}
41
+ - name : olm-operator-serving-cert
42
+ secret :
43
+ secretName : olm-operator-serving-cert
41
44
containers :
42
45
- name : olm-operator
43
46
securityContext :
@@ -74,17 +77,17 @@ spec:
74
77
image : quay.io/operator-framework/olm@sha256:de396b540b82219812061d0d753440d5655250c621c753ed1dc67d6154741607
75
78
imagePullPolicy : IfNotPresent
76
79
ports :
77
- - containerPort : 8443
80
+ - containerPort : 8080
78
81
name : metrics
79
82
livenessProbe :
80
83
httpGet :
81
84
path : /healthz
82
- port : 8443
85
+ port : 8080
83
86
scheme : HTTPS
84
87
readinessProbe :
85
88
httpGet :
86
89
path : /healthz
87
- port : 8443
90
+ port : 8080
88
91
scheme : HTTPS
89
92
terminationMessagePolicy : FallbackToLogsOnError
90
93
env :
@@ -100,6 +103,37 @@ spec:
100
103
requests :
101
104
cpu : 10m
102
105
memory : 160Mi
106
+ - args :
107
+ - --secure-listen-address=0.0.0.0:8443
108
+ - --upstream=https://127.0.0.1:8080/
109
+ - --tls-cert-file=/etc/tls/private/tls.crt
110
+ - --tls-private-key-file=/etc/tls/private/tls.key
111
+ - --upstream-ca-file=/srv-cert/tls.crt
112
+ - --logtostderr=true
113
+ image : quay.io/openshift/origin-kube-rbac-proxy:latest
114
+ imagePullPolicy : IfNotPresent
115
+ name : kube-rbac-proxy
116
+ securityContext :
117
+ allowPrivilegeEscalation : false
118
+ readOnlyRootFilesystem : true
119
+ capabilities :
120
+ drop : ["ALL"]
121
+ ports :
122
+ - containerPort : 8443
123
+ name : metrics
124
+ protocol : TCP
125
+ resources :
126
+ requests :
127
+ memory : 20Mi
128
+ cpu : 10m
129
+ terminationMessagePath : /dev/termination-log
130
+ terminationMessagePolicy : FallbackToLogsOnError
131
+ volumeMounts :
132
+ - mountPath : /etc/tls/private
133
+ name : olm-operator-serving-cert
134
+ - mountPath : /srv-cert
135
+ name : srv-cert
136
+ readOnly : true
103
137
nodeSelector :
104
138
kubernetes.io/os : linux
105
139
tolerations :
You can’t perform that action at this time.
0 commit comments