File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ resource "kubernetes_deployment" "main" {
264264 container  {
265265 name  =  " dev" 
266266 image  =  . cache_repo  ==  " " ?  local. devcontainer_builder_image  :  envbuilder_cached_image. cached . 0 . image 
267-  image_pull_policy  =  " Always " 
267+  image_pull_policy  =  " IfNotPresent " 
268268 security_context  {
269269 privileged  =  true 
270270 }
@@ -455,4 +455,4 @@ resource "coder_metadata" "container_info" {
455455 key  =  " cache repo" 
456456 value  =  . cache_repo  ==  " " ?  " not enabled" :  var. cache_repo 
457457 }
458- }
458+ }
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ resource "kubernetes_pod" "main" {
152152 name  =  " dev" 
153153 #  We highly recommend pinning this to a specific release of envbox, as the latest tag may change.
154154 image  =  " ghcr.io/coder/envbox:latest" 
155-  image_pull_policy  =  " Always " 
155+  image_pull_policy  =  " IfNotPresent " 
156156 command  =  " /envbox" " docker" 
157157
158158 security_context  {
@@ -310,4 +310,4 @@ resource "kubernetes_pod" "main" {
310310 }
311311 }
312312 }
313- }
313+ }
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ resource "kubernetes_deployment" "main" {
287287 container  {
288288 name  =  " dev" 
289289 image  =  " codercom/enterprise-base:ubuntu" 
290-  image_pull_policy  =  " Always " 
290+  image_pull_policy  =  " IfNotPresent " 
291291 command  =  " sh" " -c" coder_agent . main . init_script ]
292292 security_context  {
293293 run_as_user  =  " 1000" 
                         You can’t perform that action at this time. 
           
                  
0 commit comments