Skip to content

Commit

Permalink
Merge pull request #396 from iamniting/root
Browse files Browse the repository at this point in the history
bundle: add readOnlyRootFilesystem for odf-operator
  • Loading branch information
openshift-merge-bot[bot] authored Apr 8, 2024
2 parents 59e2b6c + 1bc4873 commit 08bf498
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bundle/manifests/odf-operator.clusterserviceversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ metadata:
categories: Storage
console.openshift.io/plugins: '["odf-console"]'
containerImage: quay.io/ocs-dev/odf-operator:latest
createdAt: "2024-04-02T08:57:47Z"
createdAt: "2024-04-05T07:02:02Z"
description: OpenShift Data Foundation provides a common control plane for storage
solutions on OpenShift Container Platform.
features.operators.openshift.io/token-auth-aws: "true"
Expand Down Expand Up @@ -419,6 +419,7 @@ spec:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
- args:
- --health-probe-bind-address=:8081
- --metrics-bind-address=127.0.0.1:8080
Expand Down Expand Up @@ -460,6 +461,7 @@ spec:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
securityContext:
runAsNonRoot: true
serviceAccountName: odf-operator-controller-manager
Expand Down
1 change: 1 addition & 0 deletions config/default/manager_auth_proxy_patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ spec:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
- name: manager
args:
- "--health-probe-bind-address=:8081"
Expand Down
1 change: 1 addition & 0 deletions config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ spec:
capabilities:
drop:
- ALL
readOnlyRootFilesystem: true
livenessProbe:
httpGet:
path: /healthz
Expand Down

0 comments on commit 08bf498

Please sign in to comment.