jx3-gitops-repositories / jx3-eks-vault

Jenkins X 3.x Cluster Git Template for managing Kubernetes resources in a cluster using Vault
Apache License 2.0
5 stars 35 forks source link

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

Open KaKeimei opened 3 years ago

KaKeimei commented 3 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 }}

ankitm123 commented 3 years ago

I think there has been no update in the version stream.

KaKeimei commented 3 years ago

I check for 2 positions for the iam role set in external-dns and tekton-bot, please look at the pr to fix this.

babadofar commented 2 years ago

This issue seems to be fixed