Skip to content

Commit

Permalink
feat: change to jobs image
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Oct 20, 2024
1 parent a9e798d commit 295395e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions modules/helm_release/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ locals {
},
},

webservice = { image = { tag = "f505293" } },
migrations = { image = { tag = "a6faaf3" } },
"event-worker" = { image = { tag = "f505293" } },
"job-policy-checker" = { image = { tag = "f505293" } },
webservice = { image = { tag = "8264bfc" } },
migrations = { image = { tag = "c19dd39" } },
"event-worker" = { image = { tag = "8264bfc" } },
"jobs" = { image = { tag = "8264bfc" } },
}

integrations_settings = var.github_bot != null ? {
Expand All @@ -45,14 +45,14 @@ locals {
}

service_account_annotations = {
"webservice.serviceAccount.create" = true,
"webservice.serviceAcount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
"job-policy-checker.serviceAccount.create" = true,
"job-policy-checker.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
"migrations.serviceAccount.create" = true,
"migrations.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
"event-worker.serviceAccount.create" = true,
"event-worker.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
"webservice.serviceAccount.create" = true,
"webservice.serviceAcount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
"jobs.serviceAccount.create" = true,
"jobs.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
"migrations.serviceAccount.create" = true,
"migrations.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
"event-worker.serviceAccount.create" = true,
"event-worker.serviceAccount.annotations.iam\\.gke\\.io/gcp-service-account" = var.service_account_email,
}
}

Expand Down
2 changes: 1 addition & 1 deletion modules/service_accounts/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ locals {
gke_namespace = "default"
members = [
"serviceAccount:${local.project_id}.svc.id.goog[${local.gke_namespace}/ctrlplane-webservice]",
"serviceAccount:${local.project_id}.svc.id.goog[${local.gke_namespace}/ctrlplane-job-policy-checker]",
"serviceAccount:${local.project_id}.svc.id.goog[${local.gke_namespace}/ctrlplane-jobs]",
"serviceAccount:${local.project_id}.svc.id.goog[${local.gke_namespace}/ctrlplane-migrations]",
"serviceAccount:${local.project_id}.svc.id.goog[${local.gke_namespace}/ctrlplane-event-worker]",
]
Expand Down

0 comments on commit 295395e

Please sign in to comment.