Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(eks/cijio-agents-2) add missing token for kubernetes provider #64

Merged

Conversation

dduportal
Copy link
Contributor

@dduportal dduportal commented Dec 13, 2024

Fixup of #62 which failed to deploy with errors like:

serviceaccounts is forbidden: User "system:anonymous" cannot create resource "serviceaccounts" in API group "" in the namespace "kube-system"

It uses the object https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/eks_cluster_auth to generate a temporary token to authenticate in EKS using internal AWS Terraform provider setup (reusing the assumed role)

@dduportal dduportal marked this pull request as ready for review December 13, 2024 14:58
@dduportal dduportal requested a review from smerle33 December 13, 2024 14:58
Copy link
Contributor

@smerle33 smerle33 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@dduportal dduportal merged commit d958f58 into jenkins-infra:main Dec 13, 2024
3 checks passed
@dduportal dduportal deleted the fix/eks/cijio-agents-2/svc-account branch December 13, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants