Skip to content

Commit 0b74b83

Browse files
[dev-v2.13] Bump rancher-turtles to v0.25.0-rc.2 (#6324)
Co-authored-by: alexander-demicev <[email protected]>
1 parent 93b069e commit 0b74b83

22 files changed

+4659
-41
lines changed
29.4 KB
Binary file not shown.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
annotations:
2+
catalog.cattle.io/certified: rancher
3+
catalog.cattle.io/display-name: Rancher Turtles - the Cluster API Extension
4+
catalog.cattle.io/kube-version: '>= 1.31.4-0 < 1.34.0-0'
5+
catalog.cattle.io/namespace: rancher-turtles-system
6+
catalog.cattle.io/os: linux
7+
catalog.cattle.io/permits-os: linux
8+
catalog.cattle.io/rancher-version: '>= 2.13.0-0 < 2.14.0-0'
9+
catalog.cattle.io/release-name: rancher-turtles
10+
catalog.cattle.io/scope: management
11+
catalog.cattle.io/type: cluster-tool
12+
apiVersion: v2
13+
appVersion: 0.25.0-rc.2
14+
description: Rancher Turtles - Cluster API integration in Rancher.
15+
home: https://github.com/rancher/turtles/
16+
icon: file://assets/logos/rancher-turtles.svg
17+
keywords:
18+
- rancher
19+
- cluster-api
20+
- capi
21+
- provisioning
22+
name: rancher-turtles
23+
type: application
24+
version: 108.0.0+up0.25.0-rc.2
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Rancher Turtles Chart
2+
3+
This chart installs Rancher Turtles using Helm.
4+
5+
Checkout the [documentation](https://turtles.docs.rancher.com) for further information.
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
🚨 This is a RELEASE CANDIDATE. Use it only for testing purposes. If you find any bugs, file an [issue](https://github.com/rancher/turtles/issues/new).
2+
<details>
3+
<summary>More details about the release</summary>
4+
5+
:warning: **RELEASE CANDIDATE NOTES** :warning:
6+
## Highlights
7+
8+
* REPLACE ME
9+
10+
## Deprecation Warning
11+
12+
REPLACE ME: A couple sentences describing the deprecation, including links to docs.
13+
14+
* [GitHub issue #REPLACE ME](REPLACE ME)
15+
16+
## Changes since v0.25.0-rc.1
17+
## :chart_with_upwards_trend: Overview
18+
- 24 new commits merged
19+
20+
## :seedling: Others
21+
- Build-and-release: Append target branch to backport PR title (#1768)
22+
23+
## :question: Sort these by hand
24+
- Build-and-release: [main] fix: org value not set in release workflow (#1758)
25+
- Build-and-release: Add backport automation GitHub workflow (#1754)
26+
- Build-and-release: Chore(deps): Bump rancher/aws-janitor from 0.2.0 to 0.3.0 (#1743)
27+
- Build-and-release: Ci: Add attestation (#1730)
28+
- Build-and-release: Cleanup release workflow and build action (#1755)
29+
- Build-and-release: Docs: Add document for new release process (#1761)
30+
- Build-and-release: Fix secret path for backport automation (#1757)
31+
- Build-and-release: Fix: update nested imageVersion in values.yaml (#1747)
32+
- Build-and-release: Use bash in release-against-rancher.sh for pushd/popd support (#1760)
33+
- Build-and-release: Use proper path for backport secrets (#1765)
34+
- Chart: Bump rancher-version in chart.yaml (#1785)
35+
- Chart: Chore: Drop CAPRKE2 and CAAPF templates from rancher-turtles chart (#1789)
36+
- Dependency: Bump kubernetes version to v1.32.x series (#1787)
37+
- Dependency: Chore(deps): Bump sigs.k8s.io/kind from 0.29.0 to 0.30.0 in /test in the other-dependencies group across 1 directory (#1751)
38+
- Fleet: Chart: enable optional fetchConfig for fleet provider (#1734)
39+
- Installation: Add cluster indexed label to all CRDs (#1749)
40+
- Installation: Feat: remove embedded capi (#1793)
41+
- Installation: Revert "Enable no-cert-manager by default" (#1792)
42+
- Installation: Standratize helm chart values with other system charts (#1769)
43+
- MULTIPLE_AREAS[Installation/Chart]: Enable no-cert-manager by default (#1784)
44+
- Operator: Remove clusterclass-operations from values.yaml (#1800)
45+
- Operator: Remove day2 and clusterclass operations code (#1783)
46+
- Testing: Fix: Drop CAPRKE2 from expected set of default deployments (#1798)
47+
48+
## Dependencies
49+
50+
### Added
51+
_Nothing has changed._
52+
53+
### Changed
54+
- sigs.k8s.io/cluster-api: v1.10.5 → v1.10.6
55+
56+
### Removed
57+
_Nothing has changed._
58+
59+
</details>
60+
<br/>
61+
_Thanks to all our contributors!_ 😊
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Rancher Turtles - The Cluster API Extension for Rancher
2+
3+
Rancher Turtles brings enhanced integration of Cluster API with Rancher.
4+
5+
For more information, including a getting started guide, see the [official documentation](https://turtles.docs.rancher.com).
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
namespace: rancher-turtles-system
2+
questions:
3+
- variable: features.default
4+
default: "false"
5+
description: "Customize install settings"
6+
label: Customize install settings
7+
type: boolean
8+
show_subquestion_if: true
9+
group: "Rancher Turtles Extra Settings"
10+
subquestions:
11+
- variable: turtlesUI.enabled
12+
default: false
13+
type: boolean
14+
description: "Flag to enable or disable installation of CAPI UI extension. If set to false then you will need to install CAPI UI extension manually."
15+
label: "Install CAPI UI (Experimental)"
16+
- variable: cluster-api-operator.cleanup
17+
default: true
18+
description: "Specify that the CAPI Operator post-delete cleanup job will be performed."
19+
type: boolean
20+
label: Cleanup CAPI Operator installation
21+
group: "CAPI Operator cleanup settings"
22+
- variable: cluster-api-operator.cluster-api.rke2.enabled
23+
default: true
24+
description: "Flag to enable or disable installation of the RKE2 provider for Cluster API. By default this is enabled."
25+
label: "Enable RKE2 Provider"
26+
type: boolean
27+
- variable: features.agent-tls-mode.enabled
28+
default: true
29+
description: "[BETA] If enabled Turtles will use the agent-tls-mode setting to determine CA cert trust mode for importing clusters."
30+
type: boolean
31+
label: Enable Agent TLS Mode
32+
group: "Rancher Turtles Features Settings"
33+
- variable: features.no-cert-manager.enabled
34+
default: false
35+
description: "[ALPHA] If enabled Turtles will remove cert-manager."
36+
type: boolean
37+
label: Remove cert-manager
38+
group: "Rancher Turtles Features Settings"
39+
- variable: kubectlImage
40+
default: "registry.k8s.io/kubernetes/kubectl:v1.32.3"
41+
description: "Specify the image to use when running kubectl in jobs."
42+
type: string
43+
label: Kubectl Image
44+
group: "Rancher Turtles Features Settings"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{{- define "system_default_registry" -}}
2+
{{- if .Values.global.cattle.systemDefaultRegistry -}}
3+
{{- printf "%s/" .Values.global.cattle.systemDefaultRegistry -}}
4+
{{- else -}}
5+
{{- "" -}}
6+
{{- end -}}
7+
{{- end -}}
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{{- if .Values.rancherInstalled }}
2+
---
3+
apiVersion: v1
4+
kind: ServiceAccount
5+
metadata:
6+
name: pre-upgrade-job
7+
namespace: '{{ .Values.namespace }}'
8+
annotations:
9+
"helm.sh/hook": "post-delete, pre-upgrade"
10+
"helm.sh/hook-weight": "-2"
11+
---
12+
apiVersion: rbac.authorization.k8s.io/v1
13+
kind: ClusterRole
14+
metadata:
15+
name: pre-upgrade-job-delete-clusterctl-configmap
16+
annotations:
17+
"helm.sh/hook": "post-delete, pre-upgrade"
18+
"helm.sh/hook-weight": "-2"
19+
rules:
20+
- apiGroups: [""]
21+
resources:
22+
- configmaps
23+
verbs:
24+
- list
25+
- delete
26+
---
27+
apiVersion: rbac.authorization.k8s.io/v1
28+
kind: ClusterRoleBinding
29+
metadata:
30+
name: pre-upgrade-job-clusterctl-configmap-cleanup
31+
annotations:
32+
"helm.sh/hook": "post-delete, pre-upgrade"
33+
"helm.sh/hook-weight": "-2"
34+
subjects:
35+
- kind: ServiceAccount
36+
name: pre-upgrade-job
37+
namespace: '{{ .Values.namespace }}'
38+
roleRef:
39+
kind: ClusterRole
40+
name: pre-upgrade-job-delete-clusterctl-configmap
41+
apiGroup: rbac.authorization.k8s.io
42+
---
43+
apiVersion: batch/v1
44+
kind: Job
45+
metadata:
46+
name: rancher-clusterctl-configmap-cleanup
47+
namespace: '{{ .Values.namespace }}'
48+
annotations:
49+
"helm.sh/hook": "post-delete, pre-upgrade"
50+
"helm.sh/hook-weight": "-1"
51+
spec:
52+
ttlSecondsAfterFinished: 300
53+
template:
54+
spec:
55+
serviceAccountName: pre-upgrade-job
56+
containers:
57+
- name: rancher-clusterctl-configmap-cleanup
58+
image: {{ .Values.kubectlImage }}
59+
args:
60+
- delete
61+
- configmap
62+
- --namespace={{ .Values.namespace }}
63+
- clusterctl-config
64+
- --ignore-not-found=true
65+
restartPolicy: Never
66+
{{- end }}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: clusterctl-config
5+
namespace: '{{ .Values.namespace }}'
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{{- 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) }}
4+
---
5+
apiVersion: v1
6+
kind: Namespace
7+
metadata:
8+
annotations:
9+
"helm.sh/hook": "post-install, post-upgrade"
10+
"helm.sh/hook-weight": "1"
11+
name: {{ index .Values "cluster-api-operator" "cluster-api" "core" "namespace" }}
12+
{{- end }}
13+
---
14+
apiVersion: turtles-capi.cattle.io/v1alpha1
15+
kind: CAPIProvider
16+
metadata:
17+
name: cluster-api
18+
namespace: {{ index .Values "cluster-api-operator" "cluster-api" "core" "namespace" }}
19+
annotations:
20+
"helm.sh/hook": "post-install, post-upgrade"
21+
"helm.sh/hook-weight": "2"
22+
spec:
23+
name: cluster-api
24+
type: core
25+
enableAutomaticUpdate: {{ index .Values "cluster-api-operator" "cluster-api" "core" "enableAutomaticUpdate" }}
26+
{{- if index .Values "cluster-api-operator" "cluster-api" "core" "version" }}
27+
version: {{ index .Values "cluster-api-operator" "cluster-api" "core" "version" }}
28+
{{- end }}
29+
additionalManifests:
30+
name: capi-additional-rbac-roles
31+
namespace: {{ index .Values "cluster-api-operator" "cluster-api" "core" "namespace" }}
32+
configSecret:
33+
{{- if index .Values "cluster-api-operator" "cluster-api" "configSecret" "name" }}
34+
name: {{ index .Values "cluster-api-operator" "cluster-api" "configSecret" "name" }}
35+
{{ else }}
36+
name: {{ index .Values "cluster-api-operator" "cluster-api" "configSecret" "defaultName" }}
37+
{{- end }}
38+
{{- if or (index .Values "cluster-api-operator" "cluster-api" "core" "fetchConfig" "url") (index .Values "cluster-api-operator" "cluster-api" "core" "fetchConfig" "selector") }}
39+
fetchConfig:
40+
{{- if index .Values "cluster-api-operator" "cluster-api" "core" "fetchConfig" "url" }}
41+
url: {{ index .Values "cluster-api-operator" "cluster-api" "core" "fetchConfig" "url" }}
42+
{{- end }}
43+
{{- if index .Values "cluster-api-operator" "cluster-api" "core" "fetchConfig" "selector" }}
44+
selector: {{ index .Values "cluster-api-operator" "cluster-api" "core" "fetchConfig" "selector" }}
45+
{{- end }}
46+
{{- end }}
47+
{{- if index .Values "cluster-api-operator" "cluster-api" "core" "imageUrl" }}
48+
deployment:
49+
containers:
50+
- name: manager
51+
imageUrl: {{ index .Values "cluster-api-operator" "cluster-api" "core" "imageUrl" }}
52+
{{- end }}
53+
---
54+
apiVersion: v1
55+
kind: ConfigMap
56+
metadata:
57+
name: capi-additional-rbac-roles
58+
namespace: {{ index .Values "cluster-api-operator" "cluster-api" "core" "namespace" }}
59+
annotations:
60+
"helm.sh/hook": "post-install, post-upgrade"
61+
"helm.sh/hook-weight": "2"
62+
data:
63+
manifests: |-
64+
apiVersion: rbac.authorization.k8s.io/v1
65+
kind: ClusterRole
66+
metadata:
67+
name: provisioning-rke-cattle-io
68+
labels:
69+
cluster.x-k8s.io/aggregate-to-manager: "true"
70+
rules:
71+
- apiGroups: ["rke.cattle.io"]
72+
resources: ["*"]
73+
verbs: ["*"]
74+
---
75+
apiVersion: rbac.authorization.k8s.io/v1
76+
kind: ClusterRole
77+
metadata:
78+
name: provisioning-rke-machine-cattle-io
79+
labels:
80+
cluster.x-k8s.io/aggregate-to-manager: "true"
81+
rules:
82+
- apiGroups: ["rke-machine.cattle.io"]
83+
resources: ["*"]
84+
verbs: ["*"]
85+
{{- end }}

0 commit comments

Comments
 (0)