Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions assets/common/sidecars/attacher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
- name: attacher-kube-rbac-proxy
securityContext:
readOnlyRootFilesystem: true
args:
- --secure-listen-address=0.0.0.0:${EXPOSED_METRICS_PORT}
- --upstream=http://127.0.0.1:${LOCAL_METRICS_PORT}/
Expand Down
2 changes: 2 additions & 0 deletions assets/common/sidecars/provisioner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
- name: provisioner-kube-rbac-proxy
securityContext:
readOnlyRootFilesystem: true
args:
- --secure-listen-address=0.0.0.0:${EXPOSED_METRICS_PORT}
- --upstream=http://127.0.0.1:${LOCAL_METRICS_PORT}/
Expand Down
2 changes: 2 additions & 0 deletions assets/common/sidecars/resizer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
- name: resizer-kube-rbac-proxy
securityContext:
readOnlyRootFilesystem: true
args:
- --secure-listen-address=0.0.0.0:${EXPOSED_METRICS_PORT}
- --upstream=http://127.0.0.1:${LOCAL_METRICS_PORT}/
Expand Down
2 changes: 2 additions & 0 deletions assets/common/sidecars/snapshotter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ spec:
cpu: 10m
terminationMessagePolicy: FallbackToLogsOnError
- name: snapshotter-kube-rbac-proxy
securityContext:
readOnlyRootFilesystem: true
args:
- --secure-listen-address=0.0.0.0:${EXPOSED_METRICS_PORT}
- --upstream=http://127.0.0.1:${LOCAL_METRICS_PORT}/
Expand Down
10 changes: 10 additions & 0 deletions assets/overlays/aws-ebs/generated/hypershift/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -282,6 +284,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -338,6 +342,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -394,6 +400,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -433,6 +441,8 @@ spec:
requests:
cpu: 10m
memory: 10Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /var/run/secrets/openshift/serviceaccount
Expand Down
8 changes: 8 additions & 0 deletions assets/overlays/aws-ebs/generated/standalone/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -236,6 +238,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -286,6 +290,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -336,6 +342,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ spec:
- name: csi-driver

- name: token-minter
securityContext:
readOnlyRootFilesystem: true
args:
- --service-account-namespace=openshift-cluster-csi-drivers
- --service-account-name=aws-ebs-csi-driver-controller-sa
Expand Down
2 changes: 2 additions & 0 deletions assets/overlays/aws-efs/generated/standalone/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -277,6 +279,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -331,6 +335,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -384,6 +390,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -232,6 +234,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -280,6 +284,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -327,6 +333,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -285,6 +287,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -339,6 +343,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -392,6 +398,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -233,6 +235,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -281,6 +285,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -328,6 +334,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -276,6 +278,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -328,6 +332,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -380,6 +386,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -230,6 +232,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -276,6 +280,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -322,6 +328,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down
1 change: 1 addition & 0 deletions assets/overlays/openstack-manila/base/node_nfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ spec:
- name: csi-driver
securityContext:
privileged: true
readOnlyRootFilesystem: true
image: ${NFS_DRIVER_IMAGE}
resources:
requests:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ spec:
requests:
cpu: 10m
memory: 50Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /plugin
Expand Down Expand Up @@ -216,6 +218,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -270,6 +274,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down Expand Up @@ -322,6 +328,8 @@ spec:
requests:
cpu: 10m
memory: 20Mi
securityContext:
readOnlyRootFilesystem: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
Expand Down
Loading