Skip to content

Move k8s auth out of infra terraform#69

Merged
bmonkman merged 4 commits intomainfrom
move-k8s-auth-out-of-infra-terraform
Dec 17, 2021
Merged

Move k8s auth out of infra terraform#69
bmonkman merged 4 commits intomainfrom
move-k8s-auth-out-of-infra-terraform

Conversation

@bmonkman
Copy link
Copy Markdown
Contributor

Description

Breaking change - Move away from creating the aws-auth configmap in the same terraform state where we are creating the cluster.
https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs#stacking-with-managed-kubernetes-cluster-resources
Remove the iam role to k8s role mapping, as this functionality will be moved into the k8s handling in the aws-eks-stack repo.

@bmonkman bmonkman requested a review from davidcheung December 16, 2021 22:44
@bmonkman bmonkman requested a review from a team as a code owner December 16, 2021 22:44
@github-actions
Copy link
Copy Markdown

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖Success! The configuration is valid.

@bmonkman bmonkman merged commit c9bc724 into main Dec 17, 2021
@bmonkman bmonkman deleted the move-k8s-auth-out-of-infra-terraform branch December 17, 2021 00:18
bmonkman added a commit that referenced this pull request Dec 17, 2021
* refactor: remove all k8s stuff from the user_access module, limit it to IAM only, don't create aws-auth configmap in eks module

* fix: remove leftover k8s reference

* fix: more simplification of user_access code

* fix: syntax error in user_auth, added missing reference to k8s assumerole

breaking change: This change moves away from creating the aws-auth configmap in the same terraform state where we are creating the cluster. All k8s operations have been moved to the kubernetes terraform in the aws-eks-stack repo.
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