Skip to content

Commit

Permalink
Merge pull request #157 from richardcase/rancher_chart_changes
Browse files Browse the repository at this point in the history
feat: add annotations / questions for chart
  • Loading branch information
richardcase authored Oct 31, 2023
2 parents a7a226f + 2447449 commit f40037c
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 1 deletion.
20 changes: 19 additions & 1 deletion charts/rancher-turtles/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
apiVersion: v2
name: rancher-turtles
description: Rancher Turtles
type: application
version: 0.0.0
appVersion: "0.0.0"
description: Rancher Turtles is a extension to Rancher that brings full Cluster API integration to Rancher.
home: https://github.com/rancher-sandbox/rancher-turtles/
icon: https://raw.githubusercontent.com/rancher-sandbox/rancher-turtles/main/logos/capi.svg
keywords:
- rancher
- cluster-api
- capi
- provisioning
dependencies:
- name: cluster-api-operator
version: v0.5.1
repository: https://kubernetes-sigs.github.io/cluster-api-operator
condition: cluster-api-operator.enabled
annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/display-name: Rancher Turtles - the Cluster API operator
catalog.cattle.io/kube-version: '>= 1.23.0-0'
catalog.cattle.io/namespace: rancher-turtles-system
catalog.cattle.io/os: linux
catalog.cattle.io/permits-os: linux
catalog.cattle.io/rancher-version: '>= 2.7.7-0'
catalog.cattle.io/release-name: rancher-turtles
catalog.cattle.io/scope: management
catalog.cattle.io/type: cluster-tool
5 changes: 5 additions & 0 deletions charts/rancher-turtles/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Rancher Turtles Chart

This chart installs the Rancher Turtles operator and optionally the Cluster API Operator using Helm.

Checkout the [documentation](https://docs.rancher-turtles.com) for further information.
5 changes: 5 additions & 0 deletions charts/rancher-turtles/app-readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Rancher Turtles - The Cluster API Extension for Rancher

Rancher Turtles brings enhanced integration of Cluster API with Rancher.

For more information, including a getting started guide, see the [official documentation](https://docs.rancher-turtles.com).
52 changes: 52 additions & 0 deletions charts/rancher-turtles/questions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
namespace: rancher-turtles-system
questions:
- variable: rancherTurtles.features.default
default: "true"
description: "Enable extra features"
label: Enable extra features
type: boolean
show_subquestion_if: false
group: "Rancher Turtles Extra Features"
subquestions:
- variable: rancherTurtles.features.embedded-capi.disabled
default: true
description: "Specify that the Rancher embedded cluster api feature be disabled"
type: boolean
label: Disable Rancher Embedded CAPI
group: "Rancher Turtles Features Settings"
- variable: rancherTurtles.features.rancher-webhook.cleanup
default: true
description: "Specify that the Rancher embedded cluster api webhooks should be removed"
type: boolean
label: Cleanup Rancher Embedded CAPI Webhooks
group: "Rancher Turtles Features Settings"
- variable: rancherTurtles.features.rancher-webhook.kubectlImage
default: "rancher/kubectl"
description: "Specify the image to use when cleaning up the webhooks"
type: string
label: Cleanup Image
group: "Rancher Turtles Features Settings"
- variable: rancherTurtles.features.rancher-kubeconfigs.label
default: true
description: "Specify that the kubeconfigs generated by Rancher should be automatically patched to contain the CAPI expected labels"
type: boolean
label: Label Rancher Kubeconfigs
group: "Rancher Turtles Features Settings"
- variable: cluster-api-operator.enabled
default: "true"
description: "Flag to enable or disable installation of the Cluster API Operator. If you disable this then you will need to manage the CAPI controllers yourself."
label: "Enable Cluster API Operator"
type: boolean
group: "Cluster API Operator"
show_subquestion_if: true
subquestions:
- variable: cluster-api-operator.cert-manager.enabled
default: "false"
description: "Flag to enable or disable installation of cert-manager. If set to false then you will need to install cert-manager manually"
label: "Enable Cert Manager"
type: boolean
- variable: cluster-api-operator.cluster-api.version
default: "v1.4.6"
required: true
description: "Version of the core CAPI controllers to install."
label: "Version"

0 comments on commit f40037c

Please sign in to comment.