video-iac/k8s/applications/templates/crds.yaml

31 lines
652 B
YAML
Raw Normal View History

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: crds
annotations:
argocd.argoproj.io/sync-wave: "-1"
spec:
destination:
namespace: argocd
server: 'https://kubernetes.default.svc'
source:
path: k8s/crds
repoURL: 'git@bitbucket.org:jamkazam/video-iac.git'
targetRevision: {{ .Values.gitBranch }}
directory:
recurse: true
project: default
syncPolicy:
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
- Replace=true
automated:
prune: true
retry:
limit: 5
backoff:
duration: 5s
factor: 2
maxDuration: 3m