Skip to content

Feature Request: Support exec Authentication (client-go Credential Plugins) #36

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

Closed
cjmateos opened this issue Jul 25, 2018 · 3 comments
Closed

Comments

@cjmateos
Copy link

Hello,

Currently, when you try to make a deploy over AWS EKS, you get an error like this for each k8s resource:

configmaps is forbidden: User "system:anonymous" cannot create configmaps in the namespace "kube-system"

This is caused because the provider doesn't support exec auth provider.

go-client, since v8.0.0 adds support for it. However, this terraform provider is currently using v6.0.0.
kubernetes/client-go@19c591b

Then, now is not possible to use Terraform in EKS. It would be nice to add this feature.

References

In the official provider repository there is an issue about this:
hashicorp#161

Thanks!

@stigok
Copy link

stigok commented Jul 25, 2018

I have blogged about a fix for this

@rpatrick00
Copy link

rpatrick00 commented Oct 22, 2018

Can you please look at integrating the changes for terraform-providers#162 from the official provider repository? Based on what I have read, it seems like this will address this issue...

@rpatrick00
Copy link

I have tested the latest changes from the official repository and exec authentication is working perfectly.

One thing to note is that their implementation of Deployment uses a slightly different configuration data structure. Be careful though since they have broken things by introducing validation on annotations that fail when using annotations whose names have kubernetes.io in them...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants