reorganize project
This commit is contained in:
parent
6cf6387773
commit
d434afdbbf
@ -9,14 +9,23 @@ spec:
|
|||||||
goTemplate: true
|
goTemplate: true
|
||||||
goTemplateOptions: ["missingkey=error"]
|
goTemplateOptions: ["missingkey=error"]
|
||||||
generators:
|
generators:
|
||||||
- git:
|
- matrix:
|
||||||
repoURL: git@gitea.invuneon.ru:gitea_admin/infra.git
|
generators:
|
||||||
revision: HEAD
|
- git:
|
||||||
directories:
|
repoURL: git@gitea.invuneon.ru:gitea_admin/infra.git
|
||||||
- path: charts/*
|
revision: HEAD
|
||||||
|
directories:
|
||||||
|
- path: charts/*
|
||||||
|
pathParamPrefix: chart
|
||||||
|
- git:
|
||||||
|
repoURL: git@gitea.invuneon.ru:gitea_admin/infra.git
|
||||||
|
revision: HEAD
|
||||||
|
directories:
|
||||||
|
- path: values/{{ index .chart.path.segments 1 }}/*
|
||||||
|
pathParamPrefix: values
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: '{{ index .path.segments 1 }}'
|
name: '{{ base (replace .values.path.segments 2 ".yaml" "") }}-{{ index .chart.path.segments 1 }}'
|
||||||
annotations:
|
annotations:
|
||||||
argocd.argoproj.io/manifest-generate-paths: ".;.."
|
argocd.argoproj.io/manifest-generate-paths: ".;.."
|
||||||
finalizers:
|
finalizers:
|
||||||
@ -29,14 +38,14 @@ spec:
|
|||||||
source:
|
source:
|
||||||
repoURL: git@gitea.invuneon.ru:gitea_admin/infra.git
|
repoURL: git@gitea.invuneon.ru:gitea_admin/infra.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
path: charts/{{ index .path.segments 1 }}
|
path: charts/{{ index .chart.path.segments 1 }}
|
||||||
helm:
|
helm:
|
||||||
releaseName: '{{ index .path.segments 1 }}'
|
releaseName: '{{ index .chart.path.segments 1 }}'
|
||||||
valueFiles:
|
valueFiles:
|
||||||
- secrets+age-import:///helm-secrets-private-keys/key.txt?prod.yaml
|
- secrets+age-import:///helm-secrets-private-keys/key.txt?values/{{ index .chart.path.segments 1 }}/{{ base .values.path.segments 2 }}
|
||||||
destination:
|
destination:
|
||||||
name: in-cluster
|
name: in-cluster
|
||||||
namespace: '{{ index .path.segments 1 }}'
|
namespace: '{{ base (replace .values.path.segments 2 ".yaml" "") }}-{{ index .chart.path.segments 1 }}'
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
Subproject commit d7e8cbf4fa5516fe246b930155e8a0c35960bd88
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user