infra/applicationset.yaml

30 lines
675 B
YAML

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: infra-apps
namespace: argocd
spec:
generators:
- git:
repoURL: ssh://git@gitea-ssh.dev-tools.svc.cluster.local.:2222/dvirlabs/infra.git
revision: HEAD
files:
- path: apps-config.yaml
template:
metadata:
name: '{{name}}'
spec:
project: '{{project}}'
source:
repoURL: '{{repoURL}}'
targetRevision: '{{targetRevision}}'
path: '{{chartPath}}'
helm:
valueFiles:
- '{{valuesFile}}'
destination:
server: https://kubernetes.default.svc
namespace: '{{namespace}}'