Set path
This commit is contained in:
1 parent
432426ce57
commit
ac44c3871f
2 files changed
+2
-1
No files matched your search
@@ -9,7 +9,7 @@ spec:
|
||||
source:
|
||||
repoURL: "git@github.com:{{ .Values.gitops.repo }}.git"
|
||||
targetRevision: "{{ .Values.gitops.commit }}"
|
||||
path: 'k8s/apps/{{ .name }}'
|
||||
path: '{{ .rootFolder }}/{{ .name }}'
|
||||
helm:
|
||||
valueFiles:
|
||||
- values.yaml
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
{{- $_ := set $appProps "name" (default $appProps.name (printf "infra-%s" $appName)) -}}
|
||||
{{- $_ := set $appProps "project" (default $appProps.project $argoappsetInfra) -}}
|
||||
{{- $_ := set $appProps "namespace" (default $appProps.namespace $appName) -}}
|
||||
{{- $_ := set $appProps "rootFolder" "k8s/infrastructure" -}}
|
||||
|
||||
{{- if (not $appProps.disabled) -}}
|
||||
{{- if $appProps.createNamespace -}}
|
||||
|
||||
Reference in new issue
Block a user