Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 25, 2025
1 parent 0c92e65 commit 72a1a34
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,10 @@ def main():
argparser.add_argument(
"release",
help="Release to deploy",
choices=list(KUBECONFIG_CLUSTERS) + list(GCP_PROJECTS.keys()) + list(AWS_DEPLOYMENTS.keys()) + list(AZURE_RGs.keys())
choices=list(KUBECONFIG_CLUSTERS)
+ list(GCP_PROJECTS.keys())
+ list(AWS_DEPLOYMENTS.keys())
+ list(AZURE_RGs.keys()),
)
argparser.add_argument(
"--name",
Expand Down
1 change: 1 addition & 0 deletions docs/source/deployment/k3s.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ We also need a secrets file, so let's copy `secrets/config/hetzner-2i2c.yaml` to
Let's tell `deploy.py` script that we have a new cluster by adding `<cluster-name>` to `KUBECONFIG_CLUSTERS` variable in `deploy.py`.

Once done, you can do a deployment with `./deploy.py <cluster-name>`! If it errors out, tweak and debug until it works.

## Test and validate

## Add to the redirector

0 comments on commit 72a1a34

Please sign in to comment.