fix: add request_upgrades.py to image, add web dashboard
- 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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user