Deploy Gitea via Helm with dedicated CloudNativePG database, in-cluster Actions runner (DinD), and built-in container registry. ArgoCD repoURLs updated to use in-cluster Gitea SSH. Preview ApplicationSet switched from GitHub PR generator to Gitea PR generator. App images now pull from gitea.coreworlds.io registry. Remaining setup after deploy: seal runner token, ArgoCD API token, and registry pull secret once Gitea is running. Add ArgoCD deploy key to Gitea repo settings.
36 lines
874 B
YAML
36 lines
874 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
namespace: argocd
|
|
resources:
|
|
- namespace.yaml
|
|
- https://raw.githubusercontent.com/argoproj/argo-cd/v2.13.3/manifests/install.yaml
|
|
- app-of-apps.yaml
|
|
- appsets/platform.yaml
|
|
- appsets/apps.yaml
|
|
- appsets/previews.yaml
|
|
- argocd-gitea-repo-sealed.yaml
|
|
- argocd-gitea-token-sealed.yaml
|
|
- servicemonitor.yaml
|
|
patches:
|
|
- target:
|
|
kind: ConfigMap
|
|
name: argocd-cm
|
|
patch: |
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: argocd-cm
|
|
data:
|
|
url: https://argocd.coreworlds.io
|
|
application.resourceTrackingMethod: annotation
|
|
- target:
|
|
kind: ConfigMap
|
|
name: argocd-cmd-params-cm
|
|
patch: |
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: argocd-cmd-params-cm
|
|
data:
|
|
server.insecure: "true"
|