From 90b07c13ae3da06ed7f26890b2cdeb4ed9fac440 Mon Sep 17 00:00:00 2001 From: Adam Talbot Date: Wed, 10 Jul 2024 11:38:41 +0100 Subject: [PATCH] fix: runAsUser in yaml is unneeded as its set in the Dockerfile This also fixes an issue in OpenShift where OpenShift wants you to use a certain range of UIDs that 1000 does not fall into. By not specifying an runAsUser in the yaml, OpenShift picks a appropriate UID for you. Since the Dockerfile contains the USER directive this should have no effect on non OpenShift Kubernetes clusters. Signed-off-by: Adam Talbot --- deploy/charts/venafi-kubernetes-agent/values.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/deploy/charts/venafi-kubernetes-agent/values.yaml b/deploy/charts/venafi-kubernetes-agent/values.yaml index 8bf1c882..35de0edb 100644 --- a/deploy/charts/venafi-kubernetes-agent/values.yaml +++ b/deploy/charts/venafi-kubernetes-agent/values.yaml @@ -109,7 +109,6 @@ securityContext: - ALL readOnlyRootFilesystem: true runAsNonRoot: true - runAsUser: 1000 # -- Set resource requests and limits for the pod. #