app-definition/env-sets/int/applicationSet.yaml
2025-07-27 19:58:18 +03:00

32 lines
832 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: int-microservices
namespace: argocd
spec:
generators:
- git:
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
revision: HEAD
files:
- path: env-sets/int/services/*.yaml
template:
metadata:
name: int-{{basenameNormalized}}
spec:
project: default
source:
repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
targetRevision: HEAD
chart: ngnix-message
helm:
valueFiles:
- services/{{path.basename}} # ✅ correct relative path to value files
destination:
server: https://kubernetes.default.svc
namespace: int
syncPolicy:
automated:
selfHeal: true
prune: true