small-hack / smol-k8s-lab

☁️ CLI & TUI with a smol friendly vibe to get started with Kubernetes on metal, then bootstrap apps using Argo CD 🧸 Great for testing webapps and benchmarking.
https://small-hack.github.io/smol-k8s-lab/
GNU Affero General Public License v3.0
12 stars 1 forks source link

Vouch not working ❗ will start working soon - see workaround in meantime #198

Closed jessebot closed 3 months ago

jessebot commented 3 months ago

Describe the Bug

I recently migrated the vouch helm chart we use at: https://github.com/jessebot/vouch-helm-chart to: https://github.com/small-hack/vouch-helm

I tried to update it in the default config here: https://github.com/small-hack/smol-k8s-lab/pull/197

However, the release job failed: https://github.com/small-hack/smol-k8s-lab/actions/runs/8463580094/job/23186718868#step:4:288

It failed because of this:

Screenshot of status.python.org reading: PyPI New User Registration and New Project Creation Temporarily Suspended. Incident Report for Python Infrastructure: https://status.python.org/ Subscribe to Updates: https://status.python.org/incidents/dc9zsqzrs0bv#subscribe-modal-dc9zsqzrs0bv. Identified. We have temporarily suspended new project creation and new user registration to mitigate an ongoing malware upload campaign. Posted 5 hours ago. Mar 28, 2024 - 02:16 UTC. This incident affects: PyPI (pypi.org - General). Current Status: https://status.python.org/

src: https://status.python.org/incidents/dc9zsqzrs0bv

I will re-run that job when the mitigation is completed, as right now, I also can't publish locally:

$ poetry publish

Publishing smol_k8s_lab (3.6.2) to PyPI
 - Uploading smol_k8s_lab-3.6.2-py3-none-any.whl FAILED

HTTP Error 403: New uploads are temporarily disabled. See https://pypi.org/help/#admin-intervention for more information. | b'<html>\n <head>\n  <title>403 New uploads are temporarily disabled. See https://pypi.org/help/#admin-intervention for more information.\n \n <body>\n  <h1>403 New uploads are temporarily disabled. See https://pypi.org/help/#admin-intervention for more information.\n  Access was denied to this resource.<br/><br/>\nNew uploads are temporarily disabled. See https://pypi.org/help/#admin-intervention for more information.\n\n\n \n'

Work Around

This affects both new users and veteran users of smol-k8s-lab.

⚠️ New users will still need to generate a fresh config first. Run smol-k8s-lab and then quit the program using q or esc. This will generate your config. After that, continue with the steps below.

  1. open your ~/.config/smol-k8s-lab/config.yaml with your favorite text editor.
  2. search for vouch-helm-chart
  3. change the project.source_repos from https://github.com/jessebot/vouch-helm-chart to https://github.com/small-hack/vouch-helm
  4. save and quit

Then you should be good to go.

⚠️ If you're an existing user, and you already have vouch installed via Argo CD, please update your Argo CD project. You can do that by either running smol-k8s-lab again, or by the following steps:

  1. go to settings > projects (which should be at https://yourargodoman.tld/settings/projects)
  2. click vouch in the project list
  3. navigate to the SOURCE REPOSITORIES section and select "EDIT"
  4. change https://github.com/jessebot/vouch-helm-chart to https://github.com/small-hack/vouch-helm
  5. Click "SAVE"
  6. you may need to refresh or sync your vouch Argo CD app
jessebot commented 3 months ago

Fix is now live as of 3.6.2 and the release job was successful here if you're curious :) https://github.com/small-hack/smol-k8s-lab/actions/runs/8463580094/job/23215523166