Skip to content

Commit

Permalink
fix: update mongodb default version (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuriwuyun authored Dec 19, 2023
1 parent 6065850 commit 687823d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions addons/mongodb/templates/clusterversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ apiVersion: apps.kubeblocks.io/v1alpha1
kind: ClusterVersion
metadata:
name: {{ $cvName }}
annotations:
kubeblocks.io/is-default-cluster-version: "true"
labels:
{{- include "mongodb.labels" . | nindent 4 }}
spec:
Expand Down
4 changes: 2 additions & 2 deletions addons/mysql/templates/clusterversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ apiVersion: apps.kubeblocks.io/v1alpha1
kind: ClusterVersion
metadata:
name: mysql-{{ default .Chart.AppVersion .Values.clusterVersionOverride }}
annotations:
kubeblocks.io/is-default-cluster-version: "true"
labels:
{{- include "mysql.labels" . | nindent 4 }}
spec:
Expand Down Expand Up @@ -39,6 +37,8 @@ apiVersion: apps.kubeblocks.io/v1alpha1
kind: ClusterVersion
metadata:
name: mysql-8.0.33
annotations:
kubeblocks.io/is-default-cluster-version: "true"
annotations:
kubeblocks.io/is-default-cluster-version: "false"
labels:
Expand Down

0 comments on commit 687823d

Please sign in to comment.