app-definition/env-sets/int/applicationSet.yaml
2025-07-29 12:02:29 +03:00

33 lines
927 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: '{{service.name}}-int'
spec:
project: sandbox
destination:
server: https://kubernetes.default.svc
namespace: int
sources:
- repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
targetRevision: HEAD
path: nginx-message
helm:
valueFiles:
- $values/env-sets/int/services/{{service.name}}.yaml
- repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
targetRevision: HEAD
ref: values
syncPolicy: {}
# automated:
# selfHeal: true