Skip to content

Commit cf18ee1

Browse files
committed
Enable readonlyRootFilesystem by default
1 parent 99823e1 commit cf18ee1

17 files changed

+22
-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
@@ -42,6 +42,7 @@ spec:
4242
- name: olm-operator
4343
securityContext:
4444
allowPrivilegeEscalation: false
45+
readOnlyRootFilesystem: true
4546
capabilities:
4647
drop: ["ALL"]
4748
volumeMounts:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ spec:
4141
- name: olm-operator
4242
securityContext:
4343
allowPrivilegeEscalation: false
44+
readOnlyRootFilesystem: true
4445
capabilities:
4546
drop: ["ALL"]
4647
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
@@ -42,6 +42,7 @@ spec:
4242
- name: catalog-operator
4343
securityContext:
4444
allowPrivilegeEscalation: false
45+
readOnlyRootFilesystem: true
4546
capabilities:
4647
drop: ["ALL"]
4748
volumeMounts:

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

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

microshift-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:

microshift-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:

microshift-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
@@ -42,6 +42,7 @@ spec:
4242
- name: olm-operator
4343
securityContext:
4444
allowPrivilegeEscalation: false
45+
readOnlyRootFilesystem: true
4546
capabilities:
4647
drop: ["ALL"]
4748
volumeMounts:

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

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

0 commit comments

Comments
 (0)