always pull images for finance app [ci skip]

This commit is contained in:
Viktor Barzin 2023-06-20 15:24:50 +00:00
parent 3047ff1d9b
commit 87f1b1ed7b

View file

@ -101,6 +101,7 @@ resource "kubernetes_deployment" "finance_app" {
container { container {
image = "viktorbarzin/finance-app:latest" image = "viktorbarzin/finance-app:latest"
name = "finance-app" name = "finance-app"
image_pull_policy = "Always"
env { env {
name = "DB_CONNECTION_STRING" name = "DB_CONNECTION_STRING"
@ -217,6 +218,7 @@ resource "kubernetes_deployment" "finance_app_backend_webhook_handler" {
container { container {
image = "viktorbarzin/finance-app-backend-webhook-handler:latest" image = "viktorbarzin/finance-app-backend-webhook-handler:latest"
name = "finance-app-backend-webhook-handler" name = "finance-app-backend-webhook-handler"
image_pull_policy = "Always"
env { env {
name = "GRAPHQL_ENDPOINT" name = "GRAPHQL_ENDPOINT"
value = var.prod_graphql_endpoint value = var.prod_graphql_endpoint
@ -259,6 +261,7 @@ resource "kubernetes_deployment" "finance_app_frontend" {
container { container {
image = "viktorbarzin/finance-app-frontend:latest" image = "viktorbarzin/finance-app-frontend:latest"
name = "finance-app-frontend" name = "finance-app-frontend"
image_pull_policy = "Always"
} }
} }
} }