forked from suse-edge/Factory
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			kiwi_fix2
			...
			turtles_up
		
	
	| Author | SHA256 | Date | |
|---|---|---|---|
| 366032fb3c | 
| @@ -2,6 +2,15 @@ | |||||||
| {{- $namespace := index .Values "cluster-api-operator" "cluster-api" "metal3" "infrastructure" "namespace" }} | {{- $namespace := index .Values "cluster-api-operator" "cluster-api" "metal3" "infrastructure" "namespace" }} | ||||||
| {{- if not (lookup "v1" "Namespace" "" $namespace) }} | {{- if not (lookup "v1" "Namespace" "" $namespace) }} | ||||||
| --- | --- | ||||||
|  | apiVersion: v1 | ||||||
|  | kind: Namespace | ||||||
|  | metadata: | ||||||
|  |   annotations: | ||||||
|  |     "helm.sh/hook": "post-install, post-upgrade" | ||||||
|  |     "helm.sh/hook-weight": "1" | ||||||
|  |   name: {{ index .Values "cluster-api-operator" "cluster-api" "metal3" "infrastructure" "namespace" }} | ||||||
|  | {{- end }} | ||||||
|  | --- | ||||||
| apiVersion: turtles-capi.cattle.io/v1alpha1 | apiVersion: turtles-capi.cattle.io/v1alpha1 | ||||||
| kind: ClusterctlConfig | kind: ClusterctlConfig | ||||||
| metadata: | metadata: | ||||||
| @@ -13,15 +22,6 @@ spec: | |||||||
|     url: "https://github.com/metal3-io/cluster-api-provider-metal3/releases/v1.7.2/infrastructure-components.yaml" |     url: "https://github.com/metal3-io/cluster-api-provider-metal3/releases/v1.7.2/infrastructure-components.yaml" | ||||||
|     type: InfrastructureProvider |     type: InfrastructureProvider | ||||||
| --- | --- | ||||||
| apiVersion: v1 |  | ||||||
| kind: Namespace |  | ||||||
| metadata: |  | ||||||
|   annotations: |  | ||||||
|     "helm.sh/hook": "post-install, post-upgrade" |  | ||||||
|     "helm.sh/hook-weight": "1" |  | ||||||
|   name: {{ index .Values "cluster-api-operator" "cluster-api" "metal3" "infrastructure" "namespace" }} |  | ||||||
| {{- end }} |  | ||||||
| --- |  | ||||||
| apiVersion: turtles-capi.cattle.io/v1alpha1 | apiVersion: turtles-capi.cattle.io/v1alpha1 | ||||||
| kind: CAPIProvider | kind: CAPIProvider | ||||||
| metadata: | metadata: | ||||||
| @@ -33,8 +33,8 @@ metadata: | |||||||
| spec: | spec: | ||||||
|   name: metal3 |   name: metal3 | ||||||
|   type: infrastructure |   type: infrastructure | ||||||
| {{- if index .Values  "cluster-api-operator" "cluster-api" "rke2" "version" }} | {{- if index .Values  "cluster-api-operator" "cluster-api" "metal3" "version" }} | ||||||
|   version: {{ index .Values "cluster-api-operator" "cluster-api" "rke2" "version" }} |   version: {{ index .Values "cluster-api-operator" "cluster-api" "metal3" "version" }} | ||||||
| {{- end }} | {{- end }} | ||||||
|   configSecret: |   configSecret: | ||||||
| {{- if index .Values "cluster-api-operator" "cluster-api" "configSecret" "name" }} | {{- if index .Values "cluster-api-operator" "cluster-api" "configSecret" "name" }} | ||||||
|   | |||||||
| @@ -52,18 +52,19 @@ cluster-api-operator: | |||||||
|         readOnly: true |         readOnly: true | ||||||
|   cluster-api: |   cluster-api: | ||||||
|     enabled: true |     enabled: true | ||||||
|  |     version: "v1.7.7" | ||||||
|     configSecret: |     configSecret: | ||||||
|       name: "" |       name: "" | ||||||
|       defaultName: capi-env-variables |       defaultName: capi-env-variables | ||||||
|     core: |     core: | ||||||
|       namespace: capi-system |       namespace: capi-system | ||||||
|       imageUrl: "" |       imageUrl: "registry.rancher.com/rancher/cluster-api-controller:v1.7.7" | ||||||
|       fetchConfig: |       fetchConfig: | ||||||
|         url: "" |         url: "" | ||||||
|         selector: "" |         selector: "" | ||||||
|     rke2: |     rke2: | ||||||
|       enabled: true |       enabled: true | ||||||
|       version: "" |       version: "v0.8.0" | ||||||
|       bootstrap: |       bootstrap: | ||||||
|         namespace: rke2-bootstrap-system |         namespace: rke2-bootstrap-system | ||||||
|         imageUrl: "registry.rancher.com/rancher/cluster-api-provider-rke2-bootstrap:v0.8.0" |         imageUrl: "registry.rancher.com/rancher/cluster-api-provider-rke2-bootstrap:v0.8.0" | ||||||
| @@ -78,7 +79,7 @@ cluster-api-operator: | |||||||
|           selector: "" |           selector: "" | ||||||
|     metal3: |     metal3: | ||||||
|       enabled: true |       enabled: true | ||||||
|       version: "" |       version: "v1.7.2" | ||||||
|       infrastructure: |       infrastructure: | ||||||
|         namespace: capm3-system |         namespace: capm3-system | ||||||
|         imageUrl: "%%IMG_REPO%%/%%IMG_PREFIX%%cluster-api-provider-metal3:1.7.2" |         imageUrl: "%%IMG_REPO%%/%%IMG_PREFIX%%cluster-api-provider-metal3:1.7.2" | ||||||
| @@ -87,4 +88,4 @@ cluster-api-operator: | |||||||
|           selector: "" |           selector: "" | ||||||
|       ipam: |       ipam: | ||||||
|         namespace: capm3-system |         namespace: capm3-system | ||||||
|         imageUrl: "%%IMG_REPO%%/%%IMG_PREFIX%%images/ip-address-manager:1.7.2" |         imageUrl: "%%IMG_REPO%%/%%IMG_PREFIX%%ip-address-manager:1.7.2" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user