Skip to content

Commit

Permalink
Fixing names
Browse files Browse the repository at this point in the history
  • Loading branch information
sekka1 committed Sep 21, 2021
1 parent 08a8a3a commit 12c1363
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ env:
AWS_DEFAULT_REGION: us-east-1

serviceAccount:
name: kubernetes-external-secrets
name: ${resource_name}
annotations:
eks.amazonaws.com/role-arn: "arn:aws:iam::${awsAccountID}:role/${iamRoleName}"
eks.amazonaws.com/role-arn: "arn:aws:iam::${awsAccountID}:role/${resource_name}"

securityContext:
# Required for use of IRSA, see https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-technical-overview.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ data "template_file" "helm_values" {
awsAccountID = data.aws_caller_identity.current.account_id
awsRegion = data.aws_region.current.name
serviceAccountName = local.k8s_service_account_name
iamRoleName = "${local.base_name}-${var.environment_name}"
resource_name = "${local.base_name}-${var.environment_name}-${var.environment_name}"
}
}

Expand Down

0 comments on commit 12c1363

Please sign in to comment.