fix: add request_upgrades.py to image, add web dashboard
CI/CD / lint-test (push) Failing after 1m40s
CI/CD / build-push (push) Has been skipped

- Dockerfile: add COPY for request_upgrades.py (was missing — root cause
  of Monday upgrade CronJob failing with 'No such file'), add git (needed
  for repo cloning in upgrade workflow), copy web.py + templates/
- requirements.txt: add fastapi, uvicorn, jinja2 for web dashboard
- web.py: FastAPI dashboard with image inventory and upgrade trigger pages
- templates/: base layout, images page (namespace→app→container grouped
  with live version status), upgrade page (outdated list + trigger button
  + job history)
- kubernetes/web-deployment.yaml: Deployment + LoadBalancer at 192.168.87.13
- kubernetes/rbac.yaml: add version-tracker-web ServiceAccount, ClusterRole
  (read pods/deployments/replicasets/statefulsets/daemonsets/jobs/cronjobs),
  and namespace Role to create upgrade Jobs
- kubernetes/upgrade-cronjob.yaml: fix YAML indentation bug on GITEA_USERNAME
  and GITEA_COMMITTER_NAME env vars
This commit is contained in:
claude-code
2026-07-12 16:15:15 +00:00
parent cb7a2abf17
commit 5ac7b2f5c5
9 changed files with 985 additions and 3 deletions
+2 -2
View File
@@ -42,8 +42,8 @@ spec:
- name: GITEA_REPO_URL
value: "https://repo.adservio.us/ai_approver/argocd-gitops.git"
- name: GITEA_USERNAME
value: "ai_approver"
- name: GITEA_COMMITTER_NAME
value: "ai_approver"
- name: GITEA_COMMITTER_NAME
value: "k8s-version-tracker"
- name: GITEA_COMMITTER_EMAIL
value: "k8s-version-tracker@themosers.club"