From e99d31845e2f0ab24796bfb4b4ce89aaeb819025 Mon Sep 17 00:00:00 2001 From: "Shanshan.Ying" Date: Wed, 25 Oct 2023 17:51:27 +0800 Subject: [PATCH] chore: add polardbx addon file --- .../helm/templates/addons/polardbx-addon.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 deploy/helm/templates/addons/polardbx-addon.yaml diff --git a/deploy/helm/templates/addons/polardbx-addon.yaml b/deploy/helm/templates/addons/polardbx-addon.yaml new file mode 100644 index 00000000000..733e70393cf --- /dev/null +++ b/deploy/helm/templates/addons/polardbx-addon.yaml @@ -0,0 +1,28 @@ +apiVersion: extensions.kubeblocks.io/v1alpha1 +kind: Addon +metadata: + name: polardbx + labels: + {{- include "kubeblocks.labels" . | nindent 4 }} + "kubeblocks.io/provider": community + {{- if .Values.keepAddons }} + annotations: + helm.sh/resource-policy: keep + {{- end }} +spec: + description: 'PolarDB-X is a cloud native distributed SQL Database designed for high concurrency, massive storage, complex querying scenarios.' + type: Helm + helm: + {{- include "kubeblocks.addonChartLocationURL" ( dict "name" "polardbx" "version" (default .Chart.Version .Values.versionOverride) "values" .Values) | indent 4 }} + {{- include "kubeblocks.addonChartsImage" . | indent 4 }} + + installOptions: + {{- if hasPrefix "oci://" .Values.addonChartLocationBase }} + version: {{ default .Chart.Version .Values.versionOverride }} + {{- end }} + + installable: + autoInstall: false + + defaultInstallValues: + - enabled: true