Skip to content

Commit

Permalink
fix: Use provided k8s service account name when setting up workload i…
Browse files Browse the repository at this point in the history
…dentity (#972)
  • Loading branch information
sig-abyreddy committed Aug 11, 2021
1 parent 8764b76 commit e00286f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/workload-identity/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ resource "kubernetes_service_account" "main" {

automount_service_account_token = var.automount_service_account_token
metadata {
name = var.name
name = local.k8s_given_name
namespace = var.namespace
annotations = {
"iam.gke.io/gcp-service-account" = local.gcp_sa_email
Expand Down

0 comments on commit e00286f

Please sign in to comment.