github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/helm/templates/addons/migration-addon.yaml (about) 1 apiVersion: extensions.kubeblocks.io/v1alpha1 2 kind: Addon 3 metadata: 4 name: migration 5 labels: 6 {{- include "kubeblocks.labels" . | nindent 4 }} 7 "kubeblocks.io/provider": community 8 {{- if .Values.keepAddons }} 9 annotations: 10 helm.sh/resource-policy: keep 11 {{- end }} 12 spec: 13 description: 'Migration is a tool for migrating data between two databases.' 14 15 type: Helm 16 17 helm: 18 {{- include "kubeblocks.addonChartLocationURL" ( dict "name" "dt-platform" "version" "0.1.1" "values" .Values) | indent 4 }} 19 {{- include "kubeblocks.addonChartsImage" . | indent 4 }} 20 21 installOptions: 22 {{- if hasPrefix "oci://" .Values.addonChartLocationBase }} 23 version: 0.1.1 24 {{- end }} 25 26 valuesMapping: 27 valueMap: 28 replicaCount: replicaCount 29 30 jsonMap: 31 tolerations: tolerations 32 33 resources: 34 cpu: 35 requests: resources.requests.cpu 36 limits: resources.limits.cpu 37 memory: 38 requests: resources.requests.memory 39 limits: resources.limits.memory 40 41 installable: 42 autoInstall: false 43 44 defaultInstallValues: 45 - enabled: true 46 {{- with .Values.tolerations }} 47 tolerations: {{ toJson . | quote }} 48 {{- end }}