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,26 +9,25 @@ spec:
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
revision: HEAD revision: HEAD
files: files:
- path: env-sets/int/services/*/check.yaml - path: env-sets/int/services/*.yaml
template: template:
metadata: metadata:
name: '{{ path.basename }}-int' name: '{{service.name}}-int'
spec: spec:
project: sandbox project: sandbox
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: int namespace: int
sources: sources:
- repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git - repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
targetRevision: HEAD targetRevision: HEAD
path: ngnix-message path: nginx-message
helm: helm:
valueFiles: valueFiles:
- '$values/{{ .path.path }}/service.yaml' - $values/env-sets/int/services/{{service.name}}.yaml
- 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
syncPolicy: syncPolicy: {}
automated: # automated:
prune: true # selfHeal: true
selfHeal: true

View File

@ -9,26 +9,25 @@ spec:
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
revision: HEAD revision: HEAD
files: files:
- path: env-sets/prod/services/*/service.yaml - path: env-sets/prod/services/*.yaml
template: template:
metadata: metadata:
name: '{{ path.basename }}-prod' name: '{{service.name}}-prod'
spec: spec:
project: sandbox project: sandbox
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: prod namespace: prod
sources: sources:
- repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git - repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
targetRevision: HEAD targetRevision: HEAD
path: ngnix-message path: nginx-message
helm: helm:
valueFiles: valueFiles:
- '$values/{{ .path.path }}/service.yaml' - $values/env-sets/prod/services/{{service.name}}.yaml
- 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
syncPolicy: syncPolicy: {}
automated: # automated:
prune: true # selfHeal: true
selfHeal: true