File tree 6 files changed +6
-12
lines changed
hack/charts/cluster-api-operator/templates
6 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 3
3
{{- $addonNamespace := default ( printf "%s-%s" $name "addon-system" ) (get $addon "namespace") }}
4
4
{{- $addonName := $name }}
5
5
{{- $addonVersion := get $addon "version" }}
6
- {{- $addonCreateNamespace := default (true) (get $addon "createNamespace")}}
7
- {{- if $addonCreateNamespace }}
6
+ {{- if ne $addon.createNamespace false }}
8
7
---
9
8
apiVersion : v1
10
9
kind : Namespace
Original file line number Diff line number Diff line change 3
3
{{- $bootstrapNamespace := default ( printf "%s-%s" $name "bootstrap-system" ) (get $bootstrap "namespace") }}
4
4
{{- $bootstrapName := $name }}
5
5
{{- $bootstrapVersion := get $bootstrap "version" }}
6
- {{- $bootstrapCreateNamespace := default (true) (get $bootstrap "createNamespace")}}
7
- {{- if $bootstrapCreateNamespace }}
6
+ {{- if ne $bootstrap.createNamespace false }}
8
7
---
9
8
apiVersion : v1
10
9
kind : Namespace
Original file line number Diff line number Diff line change 3
3
{{- $controlPlaneNamespace := default ( printf "%s-%s" $name "control-plane-system" ) (get $controlPlane "namespace") }}
4
4
{{- $controlPlaneName := $name }}
5
5
{{- $controlPlaneVersion := get $controlPlane "version" }}
6
- {{- $controlPlaneCreateNamespace := default (true) (get $controlPlane "createNamespace")}}
7
- {{- if $controlPlaneCreateNamespace }}
6
+ {{- if ne $controlPlane.createNamespace false }}
8
7
---
9
8
apiVersion : v1
10
9
kind : Namespace
Original file line number Diff line number Diff line change 3
3
{{- $coreNamespace := default "capi-system" (get $core "namespace") }}
4
4
{{- $coreName := $name }}
5
5
{{- $coreVersion := get $core "version" }}
6
- {{- $coreCreateNamespace := default (true) (get $core "createNamespace")}}
7
- {{- if $coreCreateNamespace }}
6
+ {{- if ne $core.createNamespace false }}
8
7
---
9
8
apiVersion : v1
10
9
kind : Namespace
Original file line number Diff line number Diff line change 3
3
{{- $infrastructureNamespace := default ( printf "%s-%s" $name "infrastructure-system" ) (get $infra "namespace") }}
4
4
{{- $infrastructureName := $name }}
5
5
{{- $infrastructureVersion := get $infra "version" }}
6
- {{- $infraCreateNamespace := default (true) (get $infra "createNamespace")}}
7
- {{- if $infraCreateNamespace }}
6
+ {{- if ne $infra.createNamespace false }}
8
7
---
9
8
apiVersion : v1
10
9
kind : Namespace
Original file line number Diff line number Diff line change 3
3
{{- $ipamNamespace := default ( printf "%s-%s" $name "ipam-system" ) (get $ipam "namespace") }}
4
4
{{- $ipamName := $name }}
5
5
{{- $ipamVersion := get $ipam "version" }}
6
- {{- $ipamCreateNamespace := default (true) (get $ipam "createNamespace")}}
7
- {{- if $ipamCreateNamespace }}
6
+ {{- if ne $ipam.createNamespace false }}
8
7
---
9
8
apiVersion : v1
10
9
kind : Namespace
You can’t perform that action at this time.
0 commit comments