Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify roles that should be added to Service Account created for Workload identity #694

Closed
MeNsaaH opened this issue Oct 2, 2020 · 0 comments · Fixed by #708
Closed

Comments

@MeNsaaH
Copy link
Contributor

MeNsaaH commented Oct 2, 2020

module "workload_identity" {
  source       = "terraform-google-modules/kubernetes-engine/google//modules/workload-identity"
  version      = "~> 11.1"
  name         = "prod-sa"
  namespace    = "default"
  cluster_name = module.gke.name
  project_id   = var.project_id
  roles        = ["roles/editor", "roles/dns.admin"]
}

Something like this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant