-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
kops breaking auth with kubeconfig changes #11537
Comments
Similar to #11021 and #11000. /cc @justinsb @johngmyers |
Sorry, which part of this? Doing the hack temp set of KUBECONFIG before doing the update cluster? I dont see the parameter specified as being available in kops update --help |
This preserves existing user configuration. Issue kubernetes#11537
This preserves existing user configuration. Issue kubernetes#11537
This preserves existing user configuration. Issue kubernetes#11537
This preserves existing user configuration. Issue kubernetes#11537
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
1. What
kops
version are you running? The commandkops version
, will displaythis information.
1.19.2
2. What Kubernetes version are you running?
kubectl version
will print theversion if a cluster is running or provide the Kubernetes version specified as
a
kops
flag.1.19.x
3. What cloud provider are you using?
AWS
4. What commands did you run? What is the simplest way to reproduce this issue?
cluster.config
oidc.config
export KUBECONFIG=cluster.config:oidc.config
kops update cluster --yes
5. What happened after the commands executed?
Contents of cluster.config are modified in a way which breaks auth to the cluster.
6. What did you expect to happen?
Dont modify kubeconfig files as per documentation which says it wont be done unless --admin or --user are specified.
7. Please provide your cluster manifest. Execute
kops get --name my.example.com -o yaml
to display your cluster manifest.You may want to remove your cluster name and other sensitive information.
8. Please run the commands with most verbose logging by adding the
-v 10
flag.Paste the logs into this report, or in a gist and provide the gist link here.
9. Anything else do we need to know?
Logs from update. I believe we see it is modifying the kubecfg even though we didnt ask it to.
The text was updated successfully, but these errors were encountered: