XoR bea103a280 fix(test-env): replace Job with initContainer for runner registration
Problem: Job ran on every ArgoCD sync, creating duplicate runners in Gitea.
Solution:
- initContainer gets token + saves to PVC (/data/.registration-token)
- Runner container registers once, persists .runner file in PVC
- Subsequent restarts skip registration (idempotent)
- PVC runner-data (1Gi) persists registration across pod restarts
- Removed register-job.yaml, moved RBAC to rbac.yaml
- Runner waits for DinD before starting
- Stable runner name: test-env-runner
- Labels: edt + ubuntu-latest
2026-03-12 13:29:36 +03:00

deploy-app-kargo-private

Private ArgoCD ApplicationSet repository with SOPS-encrypted secrets.

Structure

  • infra/ — Infrastructure apps (cert-manager, gitea, kargo, etc.)
  • ci/ — CI apps (gitea-runner, etc.)
  • kargo/ — Kargo pipeline definitions + encrypted credentials
  • .sops.yaml — SOPS encryption rules (3 age keys: admin, dev, prod)

Encryption

Secrets in *.enc.yaml files are encrypted with SOPS + age:

  • *.dev.enc.yaml — decryptable by admin + dev keys
  • *.prod.enc.yaml — decryptable by admin + prod keys
  • *.shared.enc.yaml — decryptable by all three keys

Branches

  • main — source of truth
  • infra/stage/dev — dev cluster (Kargo promotion)
  • infra/stage/test — test stage (Kargo verification)
  • infra/stage/prod — prod cluster (Kargo promotion via PR)
Description
No description provided
Readme 104 KiB
Languages
Shell 100%