From d9b1f4741adb4cfb06265e5ac28e2c06c7b1ed8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alessandro=20Pezz=C3=A8?= Date: Sun, 30 May 2021 22:09:35 +0200 Subject: [PATCH] refactor: add comment/pull image normally --- Resources/k8s/kustomize/deployments/pokeapi-deployment.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Resources/k8s/kustomize/deployments/pokeapi-deployment.yaml b/Resources/k8s/kustomize/deployments/pokeapi-deployment.yaml index 4a7a32ae..d08b434b 100644 --- a/Resources/k8s/kustomize/deployments/pokeapi-deployment.yaml +++ b/Resources/k8s/kustomize/deployments/pokeapi-deployment.yaml @@ -23,10 +23,9 @@ spec: containers: - name: pokeapi image: pokeapi/pokeapi:staging - imagePullPolicy: Always ports: - containerPort: 8080 - securityContext: + securityContext: # CI: Github Actions kills this container if not run with root. Otherwise, it's safe to use the default pokeapi/pokeapi user and remove these lines. allowPrivilegeEscalation: false runAsUser: 0 env: