Switch app-of-apps, platform, apps, and previews ApplicationSets to read from in-cluster Gitea (gitea-helm-ssh.platform.svc:2222). Previews now use Gitea PR generator instead of GitHub.
33 lines
858 B
YAML
33 lines
858 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: platform
|
|
namespace: argocd
|
|
spec:
|
|
goTemplate: true
|
|
goTemplateOptions: ["missingkey=error"]
|
|
generators:
|
|
- git:
|
|
repoURL: ssh://git@gitea-helm-ssh.platform.svc:2222/lazorgurl/homelab.git
|
|
revision: main
|
|
directories:
|
|
- path: infra/kubernetes/platform/*
|
|
template:
|
|
metadata:
|
|
name: "platform-{{ .path.basename }}"
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: ssh://git@gitea-helm-ssh.platform.svc:2222/lazorgurl/homelab.git
|
|
targetRevision: main
|
|
path: "{{ .path.path }}"
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: platform
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|