From 5156e52e2e12e0f655fa04479d4b538557fc66b5 Mon Sep 17 00:00:00 2001 From: Naramsim Date: Sun, 2 Jun 2024 16:05:14 +0200 Subject: [PATCH] fix: dont always pull --- .../k8s/kustomize/base/deployments/pokeapi-deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/k8s/kustomize/base/deployments/pokeapi-deployment.yaml b/Resources/k8s/kustomize/base/deployments/pokeapi-deployment.yaml index 6d7e3634..863b7479 100644 --- a/Resources/k8s/kustomize/base/deployments/pokeapi-deployment.yaml +++ b/Resources/k8s/kustomize/base/deployments/pokeapi-deployment.yaml @@ -26,7 +26,7 @@ spec: containers: - name: pokeapi image: pokeapi/pokeapi:master - imagePullPolicy: Always + imagePullPolicy: IfNotPresent ports: - containerPort: 8080 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.