Fix int and prod

This commit is contained in:
dvirlabs 2025-07-29 12:02:29 +03:00
parent ce8440cf08
commit 69a0767c07
2 changed files with 28 additions and 30 deletions

View File

@ -9,10 +9,10 @@ spec:
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
revision: HEAD
files:
- path: env-sets/int/services/*/check.yaml
- path: env-sets/int/services/*.yaml
template:
metadata:
name: '{{ path.basename }}-int'
name: '{{service.name}}-int'
spec:
project: sandbox
destination:
@ -21,14 +21,13 @@ spec:
sources:
- repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
targetRevision: HEAD
path: ngnix-message
path: nginx-message
helm:
valueFiles:
- '$values/{{ .path.path }}/service.yaml'
- $values/env-sets/int/services/{{service.name}}.yaml
- repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
targetRevision: HEAD
ref: values
syncPolicy:
automated:
prune: true
selfHeal: true
syncPolicy: {}
# automated:
# selfHeal: true

View File

@ -9,10 +9,10 @@ spec:
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
revision: HEAD
files:
- path: env-sets/prod/services/*/service.yaml
- path: env-sets/prod/services/*.yaml
template:
metadata:
name: '{{ path.basename }}-prod'
name: '{{service.name}}-prod'
spec:
project: sandbox
destination:
@ -21,14 +21,13 @@ spec:
sources:
- repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
targetRevision: HEAD
path: ngnix-message
path: nginx-message
helm:
valueFiles:
- '$values/{{ .path.path }}/service.yaml'
- $values/env-sets/prod/services/{{service.name}}.yaml
- repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
targetRevision: HEAD
ref: values
syncPolicy:
automated:
prune: true
selfHeal: true
syncPolicy: {}
# automated:
# selfHeal: true