jx3-gitops-repositories / jx3-terraform-eks

Jenkins X 3.x Infrastructure Git Template for Terraform and EKS for managing cloud resources
Apache License 2.0
9 stars 41 forks source link

The iam role name in the cluster does not match that of terraform created role #2

Closed KaKeimei closed 4 years ago

KaKeimei commented 4 years ago
annotations:
      eks.amazonaws.com/role-arn: arn:aws:iam::{{ .Values.jxRequirements.cluster.project }}:role/{{ .Values.jxRequirements.cluster.clusterName }}-{{ .Values.jxRequirements.cluster.namespace }}-tekton-bot

while the iam role created by terraform is something like

eks.amazonaws.com/role-arn: arn:aws:iam::{{ .Values.jxRequirements.cluster.project }}:role/{{ .Values.jxRequirements.cluster.clusterName }}-tekton-bot

without -{{ .Values.jxRequirements.cluster.namespace }}

KaKeimei commented 4 years ago

move this issue to https://github.com/jx3-gitops-repositories/jx3-eks-vault/issues/1