Skip to content

Commit 8ce42d0

Browse files
committed
ubbagent's container is set to uid 0, add runAsUser 1001
This change is required due to the following error: Error: container has runAsNonRoot and image will run as root (pod: "cert-manager-apptest-1234, container: ubbagent) Signed-off-by: Maël Valais <mael@vls.dev>
1 parent 1f778a2 commit 8ce42d0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

chart/jetstack-secure-gcm/charts/cert-manager/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ spec:
174174
requests:
175175
cpu: 10m
176176
memory: 20Mi
177+
securityContext:
178+
runAsUser: 1001
179+
runAsNonRoot: true
177180
{{- with .Values.nodeSelector }}
178181
nodeSelector:
179182
{{ toYaml . | indent 8 }}

0 commit comments

Comments
 (0)