42 lines
873 B
YAML
42 lines
873 B
YAML
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: tests-self
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://git.ar21.de/yolokube/core-deployments.git
|
|
targetRevision: HEAD
|
|
path: "app-files"
|
|
directory:
|
|
include: 'tests.yaml'
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: argocd
|
|
syncPolicy:
|
|
automated:
|
|
prune: false
|
|
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: test-deployments
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://git.ar21.de/yolokube/core-deployments.git
|
|
targetRevision: HEAD
|
|
path: tests
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: test-deployments
|
|
syncPolicy:
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
|
|
automated:
|
|
selfHeal: false
|
|
prune: true
|