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

Regenerate utoronto kubernetes cluster credentials #3492

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

yuvipanda
Copy link
Member

Looks like this may have expired. This was regenerated with:

  • az login, and logging into Azure with appropriate credentials
  • sops -i -d <path-to-credential-file>, to decrypt the credentials
  • export KUBECONFIG=<path-to-credential-file>, to tell kubectl to use our checked in credentials. You can test that the credentials no longer work with kubectl get node - you should get an error message about authorization
  • Get a list of running clusters with az aks list -o table
  • Regenerate credentials with az aks get-credentials --name <resource-group> --resource-group <resource-group>. For the utoronto cluster, this is az aks get-credentials --name=hub-cluster --resource-group 2i2c-utoronto-cluster. You may be asked if you want to overwrite the current credentials - answer 'yes'.
  • Re-encrypt the file, with sops -i -e <path-to-credential-file>.
  • Tada

Looks like this may have expired. This was regenerated with:

- `az login`, and logging into Azure with appropriate credentials
- `sops -i -d <path-to-credential-file>`, to decrypt the credentials
- `export KUBECONFIG=<path-to-credential-file>`, to tell `kubectl` to
  use our checked in credentials. You can test that the credentials
  no longer work with `kubectl get node` - you should get an error
  message about authorization
- Get a list of running clusters with `az aks list -o table`
- Regenerate credentials with
  `az aks get-credentials --name <resource-group> --resource-group
  <resource-group>`. For the utoronto cluster, this is
  `az aks get-credentials --name=hub-cluster --resource-group
  2i2c-utoronto-cluster`. You may be asked if you want to overwrite
  the current credentials - answer 'yes'.
- Re-encrypt the file, with `sops -i -e <path-to-credential-file>`.
- Tada
@yuvipanda yuvipanda requested a review from a team as a code owner December 2, 2023 02:50
@sgibson91
Copy link
Member

I am going to merge this so my deploy succeeds

@sgibson91 sgibson91 merged commit 244e125 into 2i2c-org:master Dec 4, 2023
7 checks passed
Copy link

github-actions bot commented Dec 4, 2023

🎉🎉🎉🎉

Monitor the deployment of the hubs here 👉 https://github.com/2i2c-org/infrastructure/actions/runs/7087361118

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done 🎉
Development

Successfully merging this pull request may close these issues.

2 participants