From 5d036b2a1aa6b45a0894ece5439835aba20aedae Mon Sep 17 00:00:00 2001 From: xuriwuyun Date: Thu, 12 Sep 2024 10:09:02 +0800 Subject: [PATCH] chore: remove mongodb sharding cv --- .../templates/sharding-clusterversion.yaml | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 addons/mongodb/templates/sharding-clusterversion.yaml diff --git a/addons/mongodb/templates/sharding-clusterversion.yaml b/addons/mongodb/templates/sharding-clusterversion.yaml deleted file mode 100644 index f9224c8f5..000000000 --- a/addons/mongodb/templates/sharding-clusterversion.yaml +++ /dev/null @@ -1,29 +0,0 @@ -apiVersion: apps.kubeblocks.io/v1alpha1 -kind: ClusterVersion -metadata: - name: mongodb-sharding-{{ default .Chart.AppVersion .Values.clusterVersionOverride }} - labels: - {{- include "mongodb.labels" . | nindent 4 }} -spec: - clusterDefinitionRef: mongodb-sharding - componentVersions: - - componentDefRef: mongos - versionsContext: - containers: - - name: mongos - image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:{{ .Values.image.tag }} - imagePullPolicy: {{ default "IfNotPresent" .Values.image.pullPolicy }} - - componentDefRef: configsvr - versionsContext: - containers: - - name: configsvr - image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:{{ .Values.image.tag }} - imagePullPolicy: {{ default "IfNotPresent" .Values.image.pullPolicy }} - - componentDefRef: shard - versionsContext: - containers: - - name: shard - image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:{{ .Values.image.tag }} - - name: agent - image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:{{ .Values.image.tag }} - imagePullPolicy: {{ default "IfNotPresent" .Values.image.pullPolicy }}