35 lines
908 B
YAML
35 lines
908 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: dev-microservices
|
|
namespace: argocd
|
|
spec:
|
|
generators:
|
|
- git:
|
|
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
|
revision: HEAD
|
|
files:
|
|
- path: env-sets/dev/services/*/service.yaml
|
|
template:
|
|
metadata:
|
|
name: '{{ path.basename }}-dev'
|
|
spec:
|
|
project: sandbox
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: dev
|
|
sources:
|
|
- repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
|
|
targetRevision: HEAD
|
|
path: nginx-message
|
|
helm:
|
|
valueFiles:
|
|
- '$values/{{path.path}}'
|
|
- repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
|
targetRevision: HEAD
|
|
ref: values
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|