Commit Graph

21 Commits

Author SHA1 Message Date
Hermes Platform Engineer
0aeaa2b051 fix(myorg-assistant): git-sync self-heals clone + normalizes gitea host to git.rogi.casa
Root cause of the git-sync failure: the cron pod only ran git pull/push
against /data/myorg but never ensured the repo existed, and the GIT_REPO_URL
secret historically pointed at the wrong Gitea subdomain (gitea.rogi.casa),
which 526s through Cloudflare -> 'Not a git repository: /data/myorg'.

Fixes:
1. Add an idempotent git-clone initContainer (guarded by [ ! -d /data/myorg/.git ])
   so the cron job self-heals and actually clones on first run.
2. Normalize GIT_REPO_URL host to git.rogi.casa at runtime (sed), so the clone
   works even if the cluster secret still contains the stale gitea.rogi.casa host.
   The working subdomain is git.rogi.casa.

Evidence (Loki, last 24h+):
  {namespace="myorg-assistant",pod=~"myorg-git-sync.+"}
  -> Pull/Push: Error: Not a git repository: /data/myorg (every run)
  -> job swallowed error, exited 0, so looked successful

Risk: low. initContainer mirrors the Deployment's; host-normalization is
idempotent. No RBAC/CRD/ArgoCD/volume changes.
2026-07-19 16:12:38 +00:00
Roger Oriol
7a7d67bedc configure git token env variable in myorg assistant cronjobs 2026-07-18 19:03:46 +02:00
Roger Oriol
19cdc77880 add git token env var to deadline checker 2026-07-18 18:59:36 +02:00
Roger Oriol
0b27cefd13 myorg assistant cron jobs env variables 2026-07-15 00:32:23 +02:00
Roger Oriol
a5b90994a4 fix myorg assistant 2026-07-11 19:22:57 +02:00
Platform Engineer
0794153e56 fix(myorg-assistant): point cronjobs at registry image + add imagePullSecrets
CronJob pods were stuck in ImagePullBackOff because they referenced
the local-only image 'myorg-assistant:latest' which is not present
on the node. Switch all 5 cronjobs to the Gitea registry image
git.rogi.casa/roger/myorg-assistant/myorg-assistant:fcf79bf
(matching the Deployment), set imagePullPolicy: Always, and add
imagePullSecrets: gitea-registry so they can authenticate to the
private registry.
2026-07-06 14:11:44 +00:00
Gitea Actions
3e57da467d Update myorg-assistant image to fcf79bf 2026-06-25 11:15:19 +00:00
Roger Oriol
ab6b5dc407 fix container registry url 2026-06-25 11:55:35 +02:00
Roger Oriol
66433ff0b1 fix tls: use letsencrypt-prod cluster-issuer for jellyfin/n8n/qbittorrent/myorg/phoenix/fava
The ingresses referenced a Cloudflare OriginIssuer 'prod-issuer' whose CRD
and controller are not installed in the cluster, so cert-manager could not
issue certs and Traefik served a default cert (invalid SSL). Switch to the
existing letsencrypt-prod ClusterIssuer with specific hostnames + per-app
secrets, matching the working ingresses (http-01 cannot issue wildcards).
2026-06-23 11:46:38 +02:00
Roger Oriol
153cf16194 refactor ingresses 2026-06-23 00:26:29 +02:00
Roger Oriol
3ff8312e35 fix liveness proba for myorg-assistant app 2026-02-14 12:04:37 +01:00
Roger Oriol
4fa91f8724 git init script 2026-02-10 23:49:54 +01:00
Roger Oriol
a0976f4731 myorg ingress 2026-02-10 23:40:42 +01:00
Gitea Actions
83d4d68719 Update myorg-assistant image to 5215cd9 2026-02-08 14:25:46 +00:00
Gitea Actions
44234982b7 Update myorg-assistant image to 0060430 2026-02-08 11:14:55 +00:00
Roger Oriol
4007b102e8 upgrade myorg-assitant image to latest 2026-02-07 18:54:32 +01:00
Roger Oriol
6f00fd1e51 use gitea imatge pull secret for myorg assistant 2026-02-07 18:03:19 +01:00
Roger Oriol
51c8daeb0c use gitea imatge pull secret for myorg assistant 2026-02-07 17:56:57 +01:00
Gitea Actions
7205f57028 Update myorg-assistant image to 518b350 2026-02-07 16:21:06 +00:00
Roger Oriol
83b2dbda38 myorg-assitant image 2026-02-07 17:18:00 +01:00
Roger Oriol
a895d4cf33 myorg assistant 2026-02-03 23:56:31 +01:00