baseline/argocd-init.yml

76 lines
1.7 KiB
YAML
Raw Normal View History

---
apiVersion: v1
kind: Namespace
metadata:
name: argocd
---
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: argocd
namespace: kube-system
spec:
2023-07-15 14:17:41 +00:00
# do not change order! (needed for renovate)
repo: https://argoproj.github.io/argo-helm
chart: argo-cd
version: 5.51.2
targetNamespace: argocd
valuesContent: |-
applicationSet:
enabled: false
notifications:
enabled: false
dex:
enabled: false
---
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: argocd-apps
namespace: kube-system
spec:
2023-07-15 14:17:41 +00:00
# do not change order! (needed for renovate)
repo: https://argoproj.github.io/argo-helm
chart: argocd-apps
version: 1.4.1
targetNamespace: argocd
valuesContent: |-
projects:
- name: baseline
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
sourceRepos:
- '*'
destinations:
- namespace: '*'
server: '*'
clusterResourceWhitelist:
- group: '*'
kind: '*'
applications:
- name: baseline
namespace: argocd
project: baseline
finalizers:
- resources-finalizer.argocd.argoproj.io
source:
repoURL: 'https://git.smsvc.net/k8s/baseline.git'
targetRevision: HEAD
path: manifests/
directory:
recurse: true
destination:
server: 'https://kubernetes.default.svc'
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 5m