Skip to content

Commit 2be3df9

Browse files
committed
Enable readonlyRootFilesystem by default
1 parent 3a0bba1 commit 2be3df9

7 files changed

+9
-0
lines changed

manifests/0000_50_olm_06-psm-operator.deployment.ibm-cloud-managed.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ spec:
4141
name: kube-rbac-proxy
4242
securityContext:
4343
allowPrivilegeEscalation: false
44+
readOnlyRootFilesystem: true
4445
capabilities:
4546
drop: ["ALL"]
4647
ports:
@@ -59,6 +60,7 @@ spec:
5960
- name: package-server-manager
6061
securityContext:
6162
allowPrivilegeEscalation: false
63+
readOnlyRootFilesystem: true
6264
capabilities:
6365
drop: ["ALL"]
6466
command:

manifests/0000_50_olm_06-psm-operator.deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ spec:
4141
name: kube-rbac-proxy
4242
securityContext:
4343
allowPrivilegeEscalation: false
44+
readOnlyRootFilesystem: true
4445
capabilities:
4546
drop: ["ALL"]
4647
ports:
@@ -59,6 +60,7 @@ spec:
5960
- name: package-server-manager
6061
securityContext:
6162
allowPrivilegeEscalation: false
63+
readOnlyRootFilesystem: true
6264
capabilities:
6365
drop: ["ALL"]
6466
command:

manifests/0000_50_olm_07-olm-operator.deployment.ibm-cloud-managed.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ spec:
4040
- name: olm-operator
4141
securityContext:
4242
allowPrivilegeEscalation: false
43+
readOnlyRootFilesystem: true
4344
capabilities:
4445
drop: ["ALL"]
4546
volumeMounts:

manifests/0000_50_olm_07-olm-operator.deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ spec:
3939
- name: olm-operator
4040
securityContext:
4141
allowPrivilegeEscalation: false
42+
readOnlyRootFilesystem: true
4243
capabilities:
4344
drop: ["ALL"]
4445
volumeMounts:

manifests/0000_50_olm_08-catalog-operator.deployment.ibm-cloud-managed.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ spec:
4040
- name: catalog-operator
4141
securityContext:
4242
allowPrivilegeEscalation: false
43+
readOnlyRootFilesystem: true
4344
capabilities:
4445
drop: ["ALL"]
4546
volumeMounts:

manifests/0000_50_olm_08-catalog-operator.deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ spec:
3939
- name: catalog-operator
4040
securityContext:
4141
allowPrivilegeEscalation: false
42+
readOnlyRootFilesystem: true
4243
capabilities:
4344
drop: ["ALL"]
4445
volumeMounts:

pkg/manifests/csv.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ spec:
114114
- name: packageserver
115115
securityContext:
116116
allowPrivilegeEscalation: false
117+
readOnlyRootFilesystem: true
117118
capabilities:
118119
drop: ["ALL"]
119120
command:

0 commit comments

Comments
 (0)