From 436c7d8d428ffd45c432b73eea5edd3aeec46395 Mon Sep 17 00:00:00 2001 From: rock Date: Thu, 10 Sep 2026 10:49:30 +0900 Subject: [PATCH] fix(argocd): update git repoURLs for org transfer rock -> riotpiao-poimen Repos transferred: homelab-frontend, kmsvc-manage, poimen, poimen-memory, poimen-workflows, poimen-frontend. Old URLs return 301 which ArgoCD doesn't follow. NOT changed: container image registry paths (rock/ is correct for registry), riotpiao.com (still under rock org). Also adds poimen-frontend to AppProject sourceRepos allowlist. --- k8s/apps/secret-rotation-controller/deployment.yaml | 2 +- k8s/argocd/apps/55-api-gateway.yaml | 2 +- k8s/argocd/apps/60-kmsvc-manage.yaml | 2 +- k8s/argocd/apps/70-poimen.yaml | 6 +++--- k8s/argocd/projects/homelab-project.yaml | 11 ++++++----- 5 files changed, 12 insertions(+), 11 deletions(-) diff --git a/k8s/apps/secret-rotation-controller/deployment.yaml b/k8s/apps/secret-rotation-controller/deployment.yaml index c615218..caf65a4 100644 --- a/k8s/apps/secret-rotation-controller/deployment.yaml +++ b/k8s/apps/secret-rotation-controller/deployment.yaml @@ -40,7 +40,7 @@ spec: # Git - name: GIT_REPO - value: https://forgejo.riotpiao.com/rock/homelab.git + value: https://forgejo.riotpiao.com/riotpiao-poimen/homelab.git - name: GIT_AUTHOR_EMAIL value: secret-rotation@homelab.local - name: GIT_AUTHOR_NAME diff --git a/k8s/argocd/apps/55-api-gateway.yaml b/k8s/argocd/apps/55-api-gateway.yaml index 39d630f..a05d36a 100644 --- a/k8s/argocd/apps/55-api-gateway.yaml +++ b/k8s/argocd/apps/55-api-gateway.yaml @@ -45,7 +45,7 @@ spec: project: homelab revisionHistoryLimit: 3 sources: - - repoURL: https://forgejo.riotpiao.com/rock/homelab-frontend.git + - repoURL: https://forgejo.riotpiao.com/riotpiao-poimen/homelab-frontend.git targetRevision: main path: k8s - repoURL: https://forgejo.riotpiao.com/riotpiao-poimen/homelab.git diff --git a/k8s/argocd/apps/60-kmsvc-manage.yaml b/k8s/argocd/apps/60-kmsvc-manage.yaml index 8e87431..bd87bb2 100644 --- a/k8s/argocd/apps/60-kmsvc-manage.yaml +++ b/k8s/argocd/apps/60-kmsvc-manage.yaml @@ -12,7 +12,7 @@ metadata: spec: project: homelab source: - repoURL: https://forgejo.riotpiao.com/rock/kmsvc-manage.git + repoURL: https://forgejo.riotpiao.com/riotpiao-poimen/kmsvc-manage.git targetRevision: main path: k8s/argocd/apps directory: diff --git a/k8s/argocd/apps/70-poimen.yaml b/k8s/argocd/apps/70-poimen.yaml index 09d809e..ac2b4c1 100644 --- a/k8s/argocd/apps/70-poimen.yaml +++ b/k8s/argocd/apps/70-poimen.yaml @@ -20,13 +20,13 @@ metadata: spec: project: homelab sources: - - repoURL: https://forgejo.riotpiao.com/rock/poimen-memory.git + - repoURL: https://forgejo.riotpiao.com/riotpiao-poimen/poimen-memory.git targetRevision: main path: k8s/argocd - - repoURL: https://forgejo.riotpiao.com/rock/poimen-workflows.git + - repoURL: https://forgejo.riotpiao.com/riotpiao-poimen/poimen-workflows.git targetRevision: main path: k8s/argocd - - repoURL: https://forgejo.riotpiao.com/rock/poimen-frontend.git + - repoURL: https://forgejo.riotpiao.com/riotpiao-poimen/poimen-frontend.git targetRevision: main path: k8s/argocd destination: diff --git a/k8s/argocd/projects/homelab-project.yaml b/k8s/argocd/projects/homelab-project.yaml index 43fc1bd..c99fa5f 100644 --- a/k8s/argocd/projects/homelab-project.yaml +++ b/k8s/argocd/projects/homelab-project.yaml @@ -18,11 +18,12 @@ spec: - https://github.com/Riotpiaole/poimen*.git # In-cluster Forgejo repos — explicit allowlist (no wildcard) - https://forgejo.riotpiao.com/riotpiao-poimen/homelab.git - - https://forgejo.riotpiao.com/rock/homelab-frontend.git - - https://forgejo.riotpiao.com/rock/kmsvc-manage.git - - https://forgejo.riotpiao.com/rock/poimen.git - - https://forgejo.riotpiao.com/rock/poimen-memory.git - - https://forgejo.riotpiao.com/rock/poimen-workflows.git + - https://forgejo.riotpiao.com/riotpiao-poimen/homelab-frontend.git + - https://forgejo.riotpiao.com/riotpiao-poimen/kmsvc-manage.git + - https://forgejo.riotpiao.com/riotpiao-poimen/poimen.git + - https://forgejo.riotpiao.com/riotpiao-poimen/poimen-memory.git + - https://forgejo.riotpiao.com/riotpiao-poimen/poimen-workflows.git + - https://forgejo.riotpiao.com/riotpiao-poimen/poimen-frontend.git - https://forgejo.riotpiao.com/rock/riotpiao.com.git # Public Helm chart repos referenced by k8s/argocd/apps/* and bootstrap/* - https://cloudnative-pg.github.io/charts