baseline/init.yml

59 lines
1.3 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:
repo: https://argoproj.github.io/argo-helm
chart: argo-cd
targetNamespace: argocd
valuesContent: |-
applicationSet:
enabled: false
notifications:
enabled: false
dex:
enabled: false
server:
replicas: 0
additionalProjects:
- name: baseline
namespace: argocd
sourceRepos:
- '*'
destinations:
- namespace: '*'
server: '*'
clusterResourceWhitelist:
- group: '*'
kind: '*'
additionalApplications:
- name: baseline
namespace: argocd
project: baseline
source:
2022-04-01 18:20:01 +00:00
repoURL: 'https://git.smsvc.net/k8s/baseline.git'
targetRevision: HEAD
path: k8s-manifests/
directory:
recurse: true
destination:
server: 'https://kubernetes.default.svc'
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
2022-04-07 06:25:32 +00:00
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 5m