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

Doesn't work with EKS via `heptio-authenticator-aws` #30

Open
alexcouper opened this Issue Jun 29, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@alexcouper

alexcouper commented Jun 29, 2018

Summary

I'm running on EKS using the heptio-authentiator-aws tool for authorization and it seems k8sec doesn't engage with that.

Details

I'm using EKS and have this in my .kube/config:

users:
- name: aws
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1alpha1
      command: heptio-authenticator-aws
      args:
        - "token"
        - "-i"
        - "<cluster_name>"

I can use kubectl get secrets and create secret generic from the command line, but when I use k8sec, I get:

Failed to retrieve secrets.: secrets "test-secret" is forbidden: User "system:anonymous" cannot get secrets in the namespace "default"
@sc250024

This comment has been minimized.

Show comment
Hide comment
@sc250024

sc250024 Aug 24, 2018

Having the same issue 👍

sc250024 commented Aug 24, 2018

Having the same issue 👍

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