Fix appset

This commit is contained in:
dvirlabs 2025-07-28 13:38:41 +03:00
parent 2ec0963c01
commit 9e03d0db1b

View File

@ -12,22 +12,22 @@ spec:
- path: env-sets/dev/services/*/service.yaml
template:
metadata:
name: '{{ path.basename }}-dev'
name: '{{ path.dirname | basename }}-dev' # svc-1-dev, svc-2-dev
spec:
project: sandbox
destination:
server: https://kubernetes.default.svc
namespace: dev
sources:
- repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
targetRevision: HEAD
path: nginx-message
helm:
valueFiles:
- '$values/{{.path.path}}/service.yaml'
- repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
targetRevision: HEAD
ref: values
- repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
targetRevision: HEAD
path: nginx-message
helm:
valueFiles:
- '$values/{{path.path}}' # ✅ FIXED HERE
- repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
targetRevision: HEAD
ref: values
syncPolicy:
automated:
prune: true