diff --git a/env-sets/dev/applicationSet.yaml b/env-sets/dev/applicationSet.yaml index 6a48af0..cb74c40 100644 --- a/env-sets/dev/applicationSet.yaml +++ b/env-sets/dev/applicationSet.yaml @@ -9,7 +9,7 @@ spec: repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git revision: HEAD files: - - path: services/*/service.yaml + - path: env-sets/dev/services/*/service.yaml template: metadata: name: '{{ path.basename }}-dev' @@ -18,13 +18,16 @@ spec: destination: server: https://kubernetes.default.svc namespace: dev - source: - repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git + sources: + - repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git targetRevision: HEAD path: ngnix-message helm: valueFiles: - - 'services/svc-*.yaml' + - '$values/{{ .path.path }}/service.yaml' + - repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git + targetRevision: HEAD + ref: values syncPolicy: automated: prune: true