From 6804cc2a1f200b3190061c3c449517a7bd082b1b Mon Sep 17 00:00:00 2001 From: Luke Heath Date: Tue, 26 Jul 2022 09:44:38 -0700 Subject: [PATCH] Change terraform sandbox deploy tag to main (#6880) * Change terraform sandbox deploy tag to main * Add image pull policy Co-authored-by: zwinnerman-fleetdm --- .../lambda/deploy_terraform/fleet/templates/deployment.yaml | 1 + .../lambda/deploy_terraform/fleet/templates/job-migration.yaml | 1 + .../sandbox/PreProvisioner/lambda/deploy_terraform/main.tf | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/deployment.yaml b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/deployment.yaml index b49a59631e..de1738b42a 100644 --- a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/deployment.yaml +++ b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/deployment.yaml @@ -34,6 +34,7 @@ spec: spec: containers: - name: {{ .Values.fleetName }} + imagePullPolicy: always command: [/usr/bin/fleet] args: ["serve"] image: fleetdm/fleet:{{ .Values.imageTag }} diff --git a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/job-migration.yaml b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/job-migration.yaml index a2c3f3e1e5..d8ebd308cd 100644 --- a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/job-migration.yaml +++ b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/fleet/templates/job-migration.yaml @@ -28,6 +28,7 @@ spec: command: [/usr/bin/fleet] args: ["prepare","db","--no-prompt"] image: fleetdm/fleet:{{ .Values.imageTag }} + imagePullPolicy: always resources: limits: cpu: {{ .Values.resources.limits.cpu }} diff --git a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/main.tf b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/main.tf index a244d16209..76c1a9f85a 100644 --- a/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/main.tf +++ b/infrastructure/sandbox/PreProvisioner/lambda/deploy_terraform/main.tf @@ -150,7 +150,7 @@ resource "helm_release" "main" { set { name = "imageTag" - value = "v4.17.0" + value = "main" } }