Skip to content

Commit 3f69b7b

Browse files
committed
fix: Remove conditional ns lookup
1 parent 49ad65f commit 3f69b7b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

charts/rancher-turtles/templates/core-provider.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
{{- if index .Values "cluster-api-operator" "cluster-api" "enabled" }}
2-
{{- $namespace := index .Values "cluster-api-operator" "cluster-api" "core" "namespace" }}
3-
{{- if not (lookup "v1" "Namespace" "" $namespace) }}
42
---
53
apiVersion: v1
64
kind: Namespace
75
metadata:
8-
annotations:
9-
"helm.sh/hook-weight": "1"
106
name: {{ index .Values "cluster-api-operator" "cluster-api" "core" "namespace" }}
11-
{{- end }}
127
---
138
apiVersion: turtles-capi.cattle.io/v1alpha1
149
kind: CAPIProvider

0 commit comments

Comments
 (0)