We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73717c7 commit e859707Copy full SHA for e859707
.ci/deploy/devfile-registry.yaml
@@ -103,6 +103,13 @@ objects:
103
name: devfile-registry-viewer
104
ports:
105
- containerPort: 3000
106
+ securityContext:
107
+ allowPrivilegeEscalation: false
108
+ runAsNonRoot: true
109
+ capabilities:
110
+ drop: ["ALL"]
111
+ seccompProfile:
112
+ type: "RuntimeDefault"
113
livenessProbe:
114
httpGet:
115
path: /viewer
@@ -138,6 +145,7 @@ objects:
138
145
- name: viewer-env-file
139
146
mountPath: /app/apps/registry-viewer/.env.local
140
147
subPath: .env.local
148
+ readOnly: true
141
149
- image: ${OCI_REGISTRY_IMAGE}:${OCI_REGISTRY_IMAGE_TAG}
142
150
imagePullPolicy: "${OCI_REGISTRY_PULL_POLICY}"
143
151
name: oci-registry
0 commit comments