Skip to content

Commit

Permalink
chore: add mongodb new version (#5364)
Browse files Browse the repository at this point in the history
  • Loading branch information
xuriwuyun authored and ldming committed Nov 21, 2023
1 parent 5c04d68 commit 5fc1cd3
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions mongodb/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: mongodb-{{ default .Chart.AppVersion .Values.clusterVersionOverride }}
annotations:
kubeblocks.io/is-default-cluster-version: "true"
labels:
{{- include "mongodb.labels" . | nindent 4 }}
spec:
Expand Down Expand Up @@ -91,6 +89,31 @@ spec:
cmdExecutorConfig:
image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:4.4

---
apiVersion: apps.kubeblocks.io/v1alpha1
kind: ClusterVersion
metadata:
name: mongodb-5.0.20
annotations:
kubeblocks.io/is-default-cluster-version: "true"
labels:
{{- include "mongodb.labels" . | nindent 4 }}
spec:
clusterDefinitionRef: mongodb
componentVersions:
- componentDefRef: mongodb
versionsContext:
containers:
- name: mongodb
image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:5.0.20
imagePullPolicy: {{ default .Values.image.pullPolicy "IfNotPresent" }}
systemAccountSpec:
cmdExecutorConfig:
image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:5.0.20
switchoverSpec:
cmdExecutorConfig:
image: {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:5.0.20

---
apiVersion: apps.kubeblocks.io/v1alpha1
kind: ClusterVersion
Expand Down

0 comments on commit 5fc1cd3

Please sign in to comment.