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

beta gcp: root-credentials command doesn't utilize non-default regions #1757

Open
1 task done
cameronraysmith opened this issue Aug 21, 2023 · 4 comments
Open
1 task done
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@cameronraysmith
Copy link
Contributor

Which version of kubefirst are you using?

2.2.9

Which cloud provider?

Google Cloud

Which installation type?

CLI

Which distributed Git provider?

GitHub

What is the issue?

After creating a cluster in a non-default region, such as with the flag --cloud-region us-central1, the root-credentials command still posts an api call indicating it expects the cluster in the default us-east1 and there doesn't appear to be a flag to modify this.

$ kubefirst beta gcp root-credentials
se01
Error: could not build kubernetes config for gcp cluster se01: error getting container cluster: rpc error: code = NotFound desc = Not found: projects/project-082023/locations/us-east1/clusters/se01.
error details: name = RequestInfo id = 0xb0059c9aa5e723f0 data =

Code of Conduct

  • I agree to follow this project's Code of Conduct
@cameronraysmith cameronraysmith added the bug Something isn't working label Aug 21, 2023
@fharper
Copy link
Contributor

fharper commented Aug 21, 2023

Thanks for reporting this issue @cameronraysmith! As discussed in our community, @claywd may be able to look into this soon.

@cameronraysmith
Copy link
Contributor Author

Of note, workarounds such as

kubectl -n vault get secrets/vault-unseal-secret --template='{{index .data "root-token"}}' | base64 -d

are already documented here.

@cameronraysmith cameronraysmith changed the title beta gcp root-credentials command doesn't utilize non-default regions beta gcp: root-credentials command doesn't utilize non-default regions Aug 21, 2023
@fharper
Copy link
Contributor

fharper commented Oct 22, 2024

@sundaram2021 will work on this.

@sundaram2021
Copy link

sundaram2021 commented Oct 28, 2024

sorry for the late , please assign it to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants