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

EKS_CLUSTER_USER_NAME #1

Open
billmcknight1953 opened this issue Dec 4, 2018 · 3 comments
Open

EKS_CLUSTER_USER_NAME #1

billmcknight1953 opened this issue Dec 4, 2018 · 3 comments

Comments

@billmcknight1953
Copy link

Your medium.com article associated with this repo is very nice and useful. But I am not certain what the EKS_CLUSTER_USER_NAME value is? Is this value queryable using kubectrl after the cluster is created?

@billmcknight1953
Copy link
Author

Execution of the lambda results in the following error for me:

deployments.extensions is forbidden: User system:serviceaccount:default:default cannot list deployments.extensions in the namespace.

What would overcome this problem? Is this connected to having the correct EKS_CLUSTER_USER_NAME value? Is this related to the following: https://github.com/honestbee/drone-kubernetes/issues/8 ??

@BranLiang
Copy link
Owner

@billmcknight1953 This is my cluster user name lambda-service-account-default-eks-cluster-1 as an example, this is the user configured in your kube config file. Hope this will help you.

@cheesev
Copy link

cheesev commented Jul 15, 2019

@BranLiang same problem...
below is my kube config file, so as you mentioned, i set EKS_CLUSTER_USER_NAME to [email protected]
but same problem occured..


...

users:

  • name: [email protected]
    user:
    exec:
    apiVersion: client.authentication.k8s.io/v1alpha1
    args:

...

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

No branches or pull requests

3 participants