Skip to content

Commit 258e184

Browse files
committed
fix: resolving the namespace selection on tenant system applications
Currently we are using the wrong folder delimiter in the system applications to derive the namespace. Its the first folder after /workloads/system/<THIS> which should be the namespace name
1 parent a28bdea commit 258e184

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/tenant/system-helm.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ spec:
112112
templatePatch: |
113113
{{- $index := 0 }}
114114
{{- range $i, $k := .path.segments }}
115-
{{- if (eq "applications" $k) }}
115+
{{- if (eq "system" $k) }}
116116
{{- $index = $i }}
117117
{{- break }}
118118
{{- end }}

apps/tenant/system-kustomize.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ spec:
109109
templatePatch: |
110110
{{- $index := 0 }}
111111
{{- range $i, $k := .path.segments }}
112-
{{- if (eq "applications" $k) }}
112+
{{- if (eq "system" $k) }}
113113
{{- $index = $i }}
114114
{{- break }}
115115
{{- end }}

0 commit comments

Comments
 (0)