Entwicklungsleitfaden für Add-ons
SUSE Virtualization Add-ons ermöglichen es Ihnen, spezifische Produkt- und Drittanbieterkomponenten basierend auf Ihren Anforderungen zu aktivieren und zu deaktivieren. Add-ons fungieren als Wrapper für die SUSE® Rancher Prime: RKE2 HelmChart-Ressourcendefinition (CRD).
Spezifikationen für Add-ons
Die Addon CRD unterstützt die folgenden Felder:
apiVersion: harvesterhci.io/v1beta1
kind: Addon
metadata:
name: example-add-on # Name of add-on
namespace: example-namespace # Namespace where the add-on CRD is deployed and where the associated Kubernetes components will be deployed
labels: # Optional add-on labels
Add-on.harvesterhci.io/experimental: "true" # Predefined label used on the UI to identify add-ons with the "experimental" maturity level
spec:
enabled: false # Boolean indicating if an add-on should be enabled or disabled on definition
repo: https://chartsrepo.com # Helm chart repository containing the Helm chart managed by the add-on
version: "v0.19.0" # Version of the Helm chart to be installed
chart: mychart # Name of the Helm chart in the Helm chart repository
valuesContent: |- # File (values.yaml) that must be passed to the Helm chart
contents of values.yaml
that need to be passed
to the chart
|
Experimentelle Add-ons sind nicht direkt in SUSE Virtualization verpackt. Ein Beispiel ist das |
Verwendung
Nach der Erstellung einer Addon CRD können Sie das enabled Feld umschalten, um das zugehörige Helm-Chart zu aktivieren und zu deaktivieren.