Skip to content

Commit

Permalink
Merge pull request #23 from goci-io/psp
Browse files Browse the repository at this point in the history
avoid duplicate role names
  • Loading branch information
etwillbefine authored Aug 12, 2020
2 parents a86dbab + 7af4ff5 commit d058d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service-account.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ resource "kubernetes_role" "service_accounts" {

locals {
service_accounts_roles = [for s in var.service_accounts : {
name = s.name
name = format("%s-sa", s.name)
rules = s.rules
service_accounts = [s.name]
}]
Expand Down

0 comments on commit d058d34

Please sign in to comment.