-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Bug] eksctl utils write-config
breaks in kubectl
1.24 when aws-iam-authenticator
absent
#5257
Labels
Comments
Change from |
torredil
added a commit
to torredil/eksctl
that referenced
this issue
May 18, 2022
…henticator absent eksctl-io#5257 Signed-off-by: Eddie Torres <torredil@amazon.com>
5 tasks
cPu1
added a commit
that referenced
this issue
May 24, 2022
…on-working configurations (#5288) * Detect kubectl version during kubeconfig generation and avoid known non-working configurations (#5257) * Update kubectl check to use JSON output instead of short output * Update pkg/utils/kubeconfig/kubeconfig.go with PR suggestion Co-authored-by: Chetan Patwal <cPu1@users.noreply.github.com> Co-authored-by: Chetan Patwal <cPu1@users.noreply.github.com>
copybara-service bot
pushed a commit
to GoogleCloudPlatform/PerfKitBenchmarker
that referenced
this issue
Jul 19, 2022
…s fixed PiperOrigin-RevId: 461695267
copybara-service bot
pushed a commit
to GoogleCloudPlatform/PerfKitBenchmarker
that referenced
this issue
Jul 19, 2022
…s fixed PiperOrigin-RevId: 461782111
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #5240 (comment) & aws/aws-cli#6920 for context. As recommended in https://docs.aws.amazon.com/eks/latest/userguide/install-aws-iam-authenticator.html I am not running
aws-iam-authenticator
. Evidently https://github.com/weaveworks/eksctl/blob/637d454ef59305b4af6633ff939674eff1f408c2/pkg/utils/kubeconfig/kubeconfig.go#L161-L166 should be extended to https://github.com/weaveworks/eksctl/blob/637d454ef59305b4af6633ff939674eff1f408c2/pkg/utils/kubeconfig/kubeconfig.go#L185 https://github.com/weaveworks/eksctl/blob/637d454ef59305b4af6633ff939674eff1f408c2/pkg/utils/kubeconfig/kubeconfig.go#L32-L36What were you trying to accomplish?
Use
eksctl utils write-config
(or actually just use the config generated byeksctl create cluster
).What happened?
Config is written, but then
kubectl
operations fail withHow to reproduce it?
Versions
The text was updated successfully, but these errors were encountered: