eks-aws-auth-merger not working
eks-aws-auth-merger was deployed successfully but the additional nodes deployed which needed to be added to the cluster throw the below error │ Error: Post "http://localhost/api/v1/namespaces/aws-auth-merger/configmaps": dial tcp 127.0.0.1:80: connect: connection refused
Hi Petri, I have identified the issue. Provider block was missing from managed nodes hcl files and I have added them now Thanks and regards Phani Deepthi Kodali C2 General From: Kodali, Deepthi, Vodafone (External) Sent: 04 April 2022 12:37 To: gruntwork-io/knowledge-base ***@***.***>; gruntwork-io/knowledge-base ***@***.***> Cc: Author ***@***.***> Subject: RE: [gruntwork-io/knowledge-base] eks-aws-auth-merger not working (Discussion #331) Hi Petri, I include the following lines of code in eks-aws-auth-merger terragrunt.hcl generate "k8s_provider" { path = "k8s_provider.tf" if_exists = "overwrite_terragrunt" contents = <<EOF provider "kubernetes" { experiments { manifest_resource = true } host = data.aws_eks_cluster.cluster.endpoint cluster_ca_certificate = base64decode(data.aws_eks_cluster.cluster.certificate_authority.0.data) token = data.aws_eks_cluster_auth.cluster.token } C2 General From: Petri Autero ***@***.******@***.***>> Sent: 04 April 2022 12:33 To: gruntwork-io/knowledge-base ***@***.******@***.***>> Cc: Kodali, Deepthi, Vodafone (External) ***@***.******@***.***>>; Author ***@***.******@***.***>> Subject: Re: [gruntwork-io/knowledge-base] eks-aws-auth-merger not working (Discussion #331) CYBER SECURITY WARNING: This email is from an external source - be careful of attachments and links. Please follow the Cyber Code and report suspicious emails. Ok, so it definitely looks like a provider configuration issue. How do you include the provider generate block in the hcl file you're trying to apply? - Reply to this email directly, view it on GitHub<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgruntwork-io%2Fknowledge-base%2Fdiscussions%2F331%23discussioncomment-2499616&data=04%7C01%7Cdeepthi.kodali%40vodafone.com%7C60ac4688ccc44fb975e908da162ef0d3%7C68283f3b84874c86adb3a5228f18b893%7C0%7C0%7C637846688130809183%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=qBI37e%2BH2rVifPYumyyYVshkTazQyMosHCj3JROmwlU%3D&reserved=0>, or unsubscribe<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAV3MA3ZXNQ3JNQHIS3EFNCTVDLHQPANCNFSM5SOVQOTQ&data=04%7C01%7Cdeepthi.kodali%40vodafone.com%7C60ac4688ccc44fb975e908da162ef0d3%7C68283f3b84874c86adb3a5228f18b893%7C0%7C0%7C637846688130809183%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=pGXeSz8ukx20rZzKmLVBEY2F4rYjhLl%2F0ba%2B%2FPGTQ3k%3D&reserved=0>. You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>