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
|
repoURL: https://git.dvirlabs.com/dvirlabs/app-definition.git
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
files:
|
files:
|
||||||
- path: env-sets/int/services/*.yaml
|
- path: env-sets/int/services/*/service.yaml
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: int-{{basenameNormalized}}
|
name: '{{ path.basename }}-int'
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: sandbox
|
||||||
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
|
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: int
|
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:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
selfHeal: true
|
|
||||||
prune: true
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
|||||||
@ -9,23 +9,26 @@ 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/*.yaml
|
- path: env-sets/prod/services/*/service.yaml
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: prod-{{basenameNormalized}}
|
name: '{{ path.basename }}-prod'
|
||||||
spec:
|
spec:
|
||||||
project: default
|
project: sandbox
|
||||||
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
|
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: prod
|
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:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
selfHeal: true
|
|
||||||
prune: true
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user