pls work
This commit is contained in:
parent
250bc445cc
commit
6ce9c295d3
@ -9,23 +9,26 @@ spec:
|
||||
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
||||
revision: HEAD
|
||||
files:
|
||||
- path: env-sets/int/services/*.yaml
|
||||
- path: env-sets/int/services/*/service.yaml
|
||||
template:
|
||||
metadata:
|
||||
name: int-{{basenameNormalized}}
|
||||
name: '{{ path.basename }}-int'
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
|
||||
targetRevision: HEAD
|
||||
chart: ngnix-message
|
||||
helm:
|
||||
valueFiles:
|
||||
- services/{{path.basename}} # ✅ correct relative path to value files
|
||||
project: sandbox
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: int
|
||||
sources:
|
||||
- repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
|
||||
targetRevision: HEAD
|
||||
path: ngnix-message
|
||||
helm:
|
||||
valueFiles:
|
||||
- '$values/{{ .path.path }}/service.yaml'
|
||||
- repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
prune: true
|
||||
selfHeal: true
|
||||
|
||||
@ -9,23 +9,26 @@ spec:
|
||||
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
||||
revision: HEAD
|
||||
files:
|
||||
- path: env-sets/prod/services/*.yaml
|
||||
- path: env-sets/prod/services/*/service.yaml
|
||||
template:
|
||||
metadata:
|
||||
name: prod-{{basenameNormalized}}
|
||||
name: '{{ path.basename }}-prod'
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
|
||||
targetRevision: HEAD
|
||||
chart: ngnix-message
|
||||
helm:
|
||||
valueFiles:
|
||||
- services/{{path.basename}} # ✅ correct relative path to value files
|
||||
project: sandbox
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: prod
|
||||
sources:
|
||||
- repoURL: https://git.dvirlabs.com/dvirlabs/app-provision.git
|
||||
targetRevision: HEAD
|
||||
path: ngnix-message
|
||||
helm:
|
||||
valueFiles:
|
||||
- '$values/{{ .path.path }}/service.yaml'
|
||||
- repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
syncPolicy:
|
||||
automated:
|
||||
selfHeal: true
|
||||
prune: true
|
||||
selfHeal: true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user