Try to put each svc in dir

This commit is contained in:
dvirlabs 2025-07-28 11:27:42 +03:00
parent e0094c7f37
commit 57a760d446
3 changed files with 1 additions and 3 deletions

View File

@ -9,9 +9,7 @@ spec:
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
revision: HEAD
files:
- path: services/svc-*.yaml
extract:
appname: '{{ index .path.segments 3 | trimSuffix ".yaml" }}'
- path: services/{{path.basename}}
template:
metadata:
name: '{{ appname }}-dev'