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: