app-definition/env-sets/dev/applicationSet.yaml
2025-07-27 20:59:05 +03:00

32 lines
885 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/*.yaml
template:
metadata:
name: '{{ path.basename | replace "_" "-" | replace "." "-" | lower }}'
spec:
project: default
source:
repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
targetRevision: master # 👈 replace HEAD with valid branch name
chart: ngnix-message
helm:
valueFiles:
- env-sets/dev/services/{{ path.basename }}
destination:
server: https://kubernetes.default.svc
namespace: dev
syncPolicy:
automated:
selfHeal: true
prune: true