Skip to content

Commit 75e95e4

Browse files
feat: remove invalid logic regarding namespace creation (#2362)
Co-authored-by: svcAPLBot <[email protected]>
1 parent 12d3699 commit 75e95e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

values/k8s/k8s-raw.gotmpl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ resources:
66
- {{- $v.bootstrap | toYaml | nindent 4 }}
77
{{- end }}
88
{{- range $ns := $v.k8s.namespaces }}
9-
{{- if or (not (hasKey $ns "app")) ($v.apps | get ($ns | get "app" "-dummy-") dict | get "enabled" false) }}
109
- apiVersion: v1
1110
kind: Namespace
1211
metadata:
@@ -40,8 +39,8 @@ resources:
4039
imagePullSecrets:
4140
- name: otomi-pullsecret-global
4241
{{- end }}
43-
{{- end }}
4442
{{- end }}
43+
4544
{{- range $id, $team := omit $v.teamConfig "admin"}}
4645
{{- $ns := printf "team-%s" $id }}
4746
- apiVersion: v1

0 commit comments

Comments
 (0)