Skip to content

Commit 6590750

Browse files
author
root
committed
MGMT-22078: Add readOnlyRootFilesystem to assisted-service template
1 parent 5b1db87 commit 6590750

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

openshift/template.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,8 @@ objects:
254254
- name: envoy-sidecar
255255
image: ${ENVOY_IMAGE}:${ENVOY_TAG}
256256
imagePullPolicy: IfNotPresent
257+
securityContext:
258+
readOnlyRootFilesystem: true
257259
command:
258260
- envoy
259261
- --config-path
@@ -288,6 +290,8 @@ objects:
288290
- name: assisted-service
289291
image: ${ASSISTED_SERVICE_IMAGE}:${IMAGE_TAG}
290292
imagePullPolicy: Always
293+
securityContext:
294+
readOnlyRootFilesystem: true
291295
resources:
292296
limits:
293297
cpu: ${{CPU_LIMIT}}

0 commit comments

Comments
 (0)