mirror of
https://github.com/ysoftdevs/terraform-aws-eks.git
synced 2026-04-27 10:57:25 +02:00
This commit changes the way aws auth is managed. Before a local file was used the generate the template and a null resource to apply it. This is now switched to the terraform kubernetes provider.
14 lines
737 B
Markdown
14 lines
737 B
Markdown
# Upgrading from version <= 7.x to 8.0.0
|
|
|
|
In version 8.0.0 the way the aws-auth config map in the kube-system namespaces is managed, has been changed.
|
|
Before this was managed via kubectl using a null resources. This was changed to be managed by the terraform kubernetes
|
|
provider.
|
|
|
|
To upgrade you have to add the kubernetes provider to the place you are calling the module. You can see examples in
|
|
the [examples](../examples) folder.
|
|
You also have to delete the aws-auth config map before doing an apply.
|
|
|
|
**This means you need to the apply with the same user/role that created the cluster.**
|
|
|
|
Since this user will be the only one with admin on the k8s cluster. After that the resource is managed trough the
|
|
terraform kubernetes provider. |