附加产品开发指南
SUSE Virtualization 附加产品允许您根据需求启用和禁用特定的产品和第三方组件。附加产品作为 SUSE® Rancher Prime: RKE2 HelmChart 资源定义 (CRD) 的封装程序。
附加产品规范
Addon CRD 支持以下字段:
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
|
实验性附加产品未直接打包在 SUSE Virtualization 软件包中。一个例子是 |