chore(argocd): delete the azhi-riotpiao Application
The Application pointed at github.com/ToyoGlobal/azhi-infra, branch feat/azi-riotpiao-cnpg, path k8s/overlays/azi-riotpiao. It never reconciled: status stayed Unknown because the source repository could not be read, and the destination namespace azi-riotpiao was never created. ArgoCD reported it as an OutOfSync managed resource of homelab-root with nothing behind it. Also drops the ToyoGlobal URL from the AppProject allowlist. No manifest from that repository is referenced any more, so the allowlist entry is dead weight. Not touched here, because it is not in git: Secret azhi-infra-github in namespace argocd holds the read-only GitHub credential for that repository. Delete it separately once no other Application needs the repo. The live Application object was deleted by hand. Until this commit reaches main, the next homelab-root sync recreates it, because main still declares it.
This commit is contained in:
@@ -1,36 +0,0 @@
|
|||||||
apiVersion: argoproj.io/v1alpha1
|
|
||||||
kind: Application
|
|
||||||
metadata:
|
|
||||||
name: azhi-riotpiao
|
|
||||||
namespace: argocd
|
|
||||||
annotations:
|
|
||||||
argocd.argoproj.io/sync-wave: '8'
|
|
||||||
spec:
|
|
||||||
project: homelab
|
|
||||||
source:
|
|
||||||
# Private GitHub. The read-only credential is Secret azhi-infra-github in
|
|
||||||
# namespace argocd, created out-of-band.
|
|
||||||
repoURL: https://github.com/ToyoGlobal/azhi-infra.git
|
|
||||||
# The repository's default branch. It is not `main`: this repo's work
|
|
||||||
# happens on the staging slice branch, and `main` is behind it.
|
|
||||||
targetRevision: feat/azi-riotpiao-cnpg
|
|
||||||
# One directory, because ArgoCD reads a single path per source. That
|
|
||||||
# directory is a root kustomization over foundation, postgres and
|
|
||||||
# azhi-server.
|
|
||||||
path: k8s/overlays/azi-riotpiao
|
|
||||||
destination:
|
|
||||||
server: https://kubernetes.default.svc
|
|
||||||
namespace: azi-riotpiao
|
|
||||||
syncPolicy:
|
|
||||||
automated:
|
|
||||||
prune: true
|
|
||||||
selfHeal: true
|
|
||||||
syncOptions:
|
|
||||||
- CreateNamespace=true
|
|
||||||
# The two Secrets this namespace needs are credentials, so they are created
|
|
||||||
# by hand and NOT by this Application:
|
|
||||||
# acr-pull — the private Alibaba ACR pull credential
|
|
||||||
# azhi-riotpiao-app-env — DB credentials, JWT secrets, AES key
|
|
||||||
# A missing imagePullSecret fails the pod outright and a missing app-env
|
|
||||||
# Secret leaves it in CreateContainerConfigError, which is the intended
|
|
||||||
# loud failure rather than a pod that runs against unknown values.
|
|
||||||
@@ -16,12 +16,6 @@ spec:
|
|||||||
- https://github.com/Riotpiaole/Poimen-memory.git
|
- https://github.com/Riotpiaole/Poimen-memory.git
|
||||||
- https://github.com/Riotpiaole/Poimen-workflows.git
|
- https://github.com/Riotpiaole/Poimen-workflows.git
|
||||||
- https://github.com/Riotpiaole/poimen*.git
|
- https://github.com/Riotpiaole/poimen*.git
|
||||||
# ToyoGlobal (GitHub, private). The azhi-infra Application reads its
|
|
||||||
# manifests from here, so the URL must be listed or ArgoCD rejects the
|
|
||||||
# Application with "repository not permitted". A read-only credential for
|
|
||||||
# this repo lives in Secret azhi-infra-github in namespace argocd; it is
|
|
||||||
# created out-of-band and is not committed, because it is a credential.
|
|
||||||
- https://github.com/ToyoGlobal/azhi-infra.git
|
|
||||||
# In-cluster Forgejo repos — explicit allowlist (no wildcard)
|
# In-cluster Forgejo repos — explicit allowlist (no wildcard)
|
||||||
- https://forgejo.riotpiao.com/riotpiao-poimen/homelab.git
|
- https://forgejo.riotpiao.com/riotpiao-poimen/homelab.git
|
||||||
- https://forgejo.riotpiao.com/riotpiao-poimen/homelab-frontend.git
|
- https://forgejo.riotpiao.com/riotpiao-poimen/homelab-frontend.git
|
||||||
|
|||||||
Reference in New Issue
Block a user