File tree 10 files changed +48
-55
lines changed
staging/operator-lifecycle-manager/deploy/chart
10 files changed +48
-55
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,12 @@ apiVersion: v1
15
15
kind : Namespace
16
16
metadata :
17
17
name : openshift-operators
18
+ labels :
19
+ pod-security.kubernetes.io/enforce : baseline
20
+ pod-security.kubernetes.io/enforce-version : " v1.24"
21
+ openshift.io/scc : " anyuid"
18
22
annotations :
19
23
openshift.io/node-selector : " "
20
24
workload.openshift.io/allowed : " management"
21
25
include.release.openshift.io/ibm-cloud-managed : " true"
22
26
include.release.openshift.io/self-managed-high-availability : " true"
23
- labels :
24
- openshift.io/scc : " anyuid"
Original file line number Diff line number Diff line change 21
21
annotations :
22
22
target.workload.openshift.io/management : ' {"effect": "PreferredDuringScheduling"}'
23
23
spec :
24
+ securityContext :
25
+ runAsNonRoot : true
26
+ seccompProfile :
27
+ type : RuntimeDefault
24
28
serviceAccountName : olm-operator-serviceaccount
25
29
volumes :
26
30
- name : srv-cert
31
35
secretName : pprof-cert
32
36
containers :
33
37
- name : olm-operator
38
+ securityContext :
39
+ allowPrivilegeEscalation : false
40
+ capabilities :
41
+ drop : ["ALL"]
34
42
volumeMounts :
35
43
- name : srv-cert
36
44
mountPath : " /srv-cert"
82
90
requests :
83
91
cpu : 10m
84
92
memory : 160Mi
85
- securityContext :
86
- allowPrivilegeEscalation : false
87
- capabilities :
88
- drop : ["ALL"]
89
93
nodeSelector :
90
94
kubernetes.io/os : linux
91
95
tolerations :
@@ -101,8 +105,3 @@ spec:
101
105
operator : Exists
102
106
tolerationSeconds : 120
103
107
priorityClassName : system-cluster-critical
104
- securityContext :
105
- runAsNonRoot : true
106
- runAsUser : 65534
107
- seccompProfile :
108
- type : RuntimeDefault
Original file line number Diff line number Diff line change 21
21
annotations :
22
22
target.workload.openshift.io/management : ' {"effect": "PreferredDuringScheduling"}'
23
23
spec :
24
+ securityContext :
25
+ runAsNonRoot : true
26
+ seccompProfile :
27
+ type : RuntimeDefault
24
28
serviceAccountName : olm-operator-serviceaccount
25
29
volumes :
26
30
- name : srv-cert
31
35
secretName : pprof-cert
32
36
containers :
33
37
- name : olm-operator
38
+ securityContext :
39
+ allowPrivilegeEscalation : false
40
+ capabilities :
41
+ drop : ["ALL"]
34
42
volumeMounts :
35
43
- name : srv-cert
36
44
mountPath : " /srv-cert"
82
90
requests :
83
91
cpu : 10m
84
92
memory : 160Mi
85
- securityContext :
86
- allowPrivilegeEscalation : false
87
- capabilities :
88
- drop : ["ALL"]
89
93
nodeSelector :
90
94
kubernetes.io/os : linux
91
95
node-role.kubernetes.io/master : " "
@@ -102,8 +106,3 @@ spec:
102
106
operator : Exists
103
107
tolerationSeconds : 120
104
108
priorityClassName : system-cluster-critical
105
- securityContext :
106
- runAsNonRoot : true
107
- runAsUser : 65534
108
- seccompProfile :
109
- type : RuntimeDefault
Original file line number Diff line number Diff line change 21
21
annotations :
22
22
target.workload.openshift.io/management : ' {"effect": "PreferredDuringScheduling"}'
23
23
spec :
24
+ securityContext :
25
+ runAsNonRoot : true
26
+ seccompProfile :
27
+ type : RuntimeDefault
24
28
serviceAccountName : olm-operator-serviceaccount
25
29
volumes :
26
30
- name : srv-cert
31
35
secretName : pprof-cert
32
36
containers :
33
37
- name : catalog-operator
38
+ securityContext :
39
+ allowPrivilegeEscalation : false
40
+ capabilities :
41
+ drop : ["ALL"]
34
42
volumeMounts :
35
43
- name : srv-cert
36
44
mountPath : " /srv-cert"
55
63
- /srv-cert/tls.key
56
64
- --client-ca
57
65
- /profile-collector-cert/tls.crt
66
+ - --set-workload-user-id=false
58
67
image : quay.io/operator-framework/olm@sha256:de396b540b82219812061d0d753440d5655250c621c753ed1dc67d6154741607
59
68
imagePullPolicy : IfNotPresent
60
69
ports :
78
87
env :
79
88
- name : RELEASE_VERSION
80
89
value : " 0.0.1-snapshot"
81
- securityContext :
82
- allowPrivilegeEscalation : false
83
- capabilities :
84
- drop : ["ALL"]
85
90
nodeSelector :
86
91
kubernetes.io/os : linux
87
92
tolerations :
97
102
operator : Exists
98
103
tolerationSeconds : 120
99
104
priorityClassName : system-cluster-critical
100
- securityContext :
101
- runAsNonRoot : true
102
- runAsUser : 65534
103
- seccompProfile :
104
- type : RuntimeDefault
Original file line number Diff line number Diff line change 21
21
annotations :
22
22
target.workload.openshift.io/management : ' {"effect": "PreferredDuringScheduling"}'
23
23
spec :
24
+ securityContext :
25
+ runAsNonRoot : true
26
+ seccompProfile :
27
+ type : RuntimeDefault
24
28
serviceAccountName : olm-operator-serviceaccount
25
29
volumes :
26
30
- name : srv-cert
31
35
secretName : pprof-cert
32
36
containers :
33
37
- name : catalog-operator
38
+ securityContext :
39
+ allowPrivilegeEscalation : false
40
+ capabilities :
41
+ drop : ["ALL"]
34
42
volumeMounts :
35
43
- name : srv-cert
36
44
mountPath : " /srv-cert"
55
63
- /srv-cert/tls.key
56
64
- --client-ca
57
65
- /profile-collector-cert/tls.crt
66
+ - --set-workload-user-id=false
58
67
image : quay.io/operator-framework/olm@sha256:de396b540b82219812061d0d753440d5655250c621c753ed1dc67d6154741607
59
68
imagePullPolicy : IfNotPresent
60
69
ports :
78
87
env :
79
88
- name : RELEASE_VERSION
80
89
value : " 0.0.1-snapshot"
81
- securityContext :
82
- allowPrivilegeEscalation : false
83
- capabilities :
84
- drop : ["ALL"]
85
90
nodeSelector :
86
91
kubernetes.io/os : linux
87
92
node-role.kubernetes.io/master : " "
98
103
operator : Exists
99
104
tolerationSeconds : 120
100
105
priorityClassName : system-cluster-critical
101
- securityContext :
102
- runAsNonRoot : true
103
- runAsUser : 65534
104
- seccompProfile :
105
- type : RuntimeDefault
Original file line number Diff line number Diff line change 88
88
target.workload.openshift.io/management : ' {"effect": "PreferredDuringScheduling"}'
89
89
creationTimestamp : null
90
90
spec :
91
+ securityContext :
92
+ runAsNonRoot : true
93
+ seccompProfile :
94
+ type : RuntimeDefault
91
95
serviceAccountName : olm-operator-serviceaccount
92
96
nodeSelector :
93
97
kubernetes.io/os : linux
@@ -106,6 +110,10 @@ spec:
106
110
tolerationSeconds : 120
107
111
containers :
108
112
- name : packageserver
113
+ securityContext :
114
+ allowPrivilegeEscalation : false
115
+ capabilities :
116
+ drop : ["ALL"]
109
117
command :
110
118
- /bin/package-server
111
119
- -v=4
@@ -136,10 +144,6 @@ spec:
136
144
volumeMounts :
137
145
- name : tmpfs
138
146
mountPath : /tmp
139
- securityContext :
140
- allowPrivilegeEscalation : false
141
- capabilities :
142
- drop : ["ALL"]
143
147
volumes :
144
148
- name : tmpfs
145
149
emptyDir : {}
@@ -154,11 +158,6 @@ spec:
154
158
values :
155
159
- packageserver
156
160
topologyKey : " kubernetes.io/hostname"
157
- securityContext :
158
- runAsNonRoot : true
159
- runAsUser : 65534
160
- seccompProfile :
161
- type : RuntimeDefault
162
161
maturity : alpha
163
162
version : 0.19.0
164
163
apiservicedefinitions :
Original file line number Diff line number Diff line change 19
19
path : spec.template.spec.securityContext
20
20
value :
21
21
runAsNonRoot : true
22
- runAsUser : 65534
23
22
seccompProfile :
24
23
type : RuntimeDefault
Original file line number Diff line number Diff line change 19
19
path : spec.template.spec.securityContext
20
20
value :
21
21
runAsNonRoot : true
22
- runAsUser : 65534
23
22
seccompProfile :
24
23
type : RuntimeDefault
Original file line number Diff line number Diff line change 43
43
path : spec.install.spec.deployments[0].spec.template.spec.securityContext
44
44
value :
45
45
runAsNonRoot : true
46
- runAsUser : 65534
47
46
seccompProfile :
48
47
type : RuntimeDefault
Original file line number Diff line number Diff line change 1
1
rbacApiVersion : rbac.authorization.k8s.io
2
2
namespace : operator-lifecycle-manager
3
3
# see https://kubernetes.io/docs/concepts/security/pod-security-admission/ for more details
4
- namespace_psa :
5
- enforceLevel : restricted
6
- enforceVersion : latest
7
4
catalog_namespace : operator-lifecycle-manager
8
5
operator_namespace : operators
9
6
# see https://kubernetes.io/docs/concepts/security/pod-security-admission/ for more details
10
7
operator_namespace_psa :
11
8
enforceLevel : baseline
12
- enforceVersion : latest
9
+ enforceVersion : ' "v1.24" '
13
10
minKubeVersion : 1.11.0
14
11
writeStatusName : ' ""'
15
12
imagestream : false
33
30
memory : 160Mi
34
31
35
32
catalog :
36
- setWorkloadUserID : true
33
+ setWorkloadUserID : false
37
34
replicaCount : 1
38
35
commandArgs : --configmapServerImage=quay.io/operator-framework/configmap-operator-registry:latest
39
36
image :
You can’t perform that action at this time.
0 commit comments