Fix appset

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

View File

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