Skip to content

Commit

Permalink
[#77] Add annotations to server SA
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitriy Karbyshev committed Apr 7, 2021
1 parent fc73ec2 commit b7322c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions terraform/modules/k8s/argo/main/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ locals {
# var.configuration.workflows_namespace == "" ? {} : {
server = {
server = {
baseHref = "/argo/"
serviceAccountAnnotations = {
"iam.gke.io/gcp-service-account" = var.workflows_sa
}
Expand Down Expand Up @@ -190,6 +191,7 @@ resource "helm_release" "argo_workflows" {
pgsql_enabled = var.pgsql.enabled
workflow = yamlencode(local.workflow)
artifact_repository = yamlencode(local.artifact_repository)
server = yamlencode(local.server)
# workflows_namespace = local.workflows_namespace
# node_selector = var.configuration.node_pool[keys(var.configuration.node_pool)[0]].labels.mode
# node_taint = var.configuration.node_pool[keys(var.configuration.node_pool)[0]].taints[0].value
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
server:
baseHref: /argo/
${server}
singleNamespace: false
useDefaultArtifactRepo: true
${artifact_repository}
Expand Down

0 comments on commit b7322c0

Please sign in to comment.