reorganize project
This commit is contained in:
parent
6cf6387773
commit
d434afdbbf
@ -9,14 +9,23 @@ spec:
|
||||
goTemplate: true
|
||||
goTemplateOptions: ["missingkey=error"]
|
||||
generators:
|
||||
- git:
|
||||
repoURL: git@gitea.invuneon.ru:gitea_admin/infra.git
|
||||
revision: HEAD
|
||||
directories:
|
||||
- path: charts/*
|
||||
- matrix:
|
||||
generators:
|
||||
- git:
|
||||
repoURL: git@gitea.invuneon.ru:gitea_admin/infra.git
|
||||
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:
|
||||
metadata:
|
||||
name: '{{ index .path.segments 1 }}'
|
||||
name: '{{ base (replace .values.path.segments 2 ".yaml" "") }}-{{ index .chart.path.segments 1 }}'
|
||||
annotations:
|
||||
argocd.argoproj.io/manifest-generate-paths: ".;.."
|
||||
finalizers:
|
||||
@ -29,17 +38,17 @@ spec:
|
||||
source:
|
||||
repoURL: git@gitea.invuneon.ru:gitea_admin/infra.git
|
||||
targetRevision: HEAD
|
||||
path: charts/{{ index .path.segments 1 }}
|
||||
path: charts/{{ index .chart.path.segments 1 }}
|
||||
helm:
|
||||
releaseName: '{{ index .path.segments 1 }}'
|
||||
releaseName: '{{ index .chart.path.segments 1 }}'
|
||||
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:
|
||||
name: in-cluster
|
||||
namespace: '{{ index .path.segments 1 }}'
|
||||
namespace: '{{ base (replace .values.path.segments 2 ".yaml" "") }}-{{ index .chart.path.segments 1 }}'
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- CreateNamespace=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