Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ addons-cluster/mariadb/ @yinmin @leon-inf @apecloud/kb-reviewers @apecloud/kb-ad
addons/milvus/ @leon-inf @leon-inf @apecloud/kb-reviewers @apecloud/kb-addon-reviewers
addons-cluster/milvus/ @leon-inf @leon-inf @apecloud/kb-reviewers @apecloud/kb-addon-reviewers

addons/minio/ @fengluodb @leon-inf @apecloud/kb-reviewers @apecloud/kb-addon-reviewers
addons-cluster/minio/ @fengluodb @leon-inf @apecloud/kb-reviewers @apecloud/kb-addon-reviewers
addons/minio/ @ldming @leon-inf @apecloud/kb-reviewers @apecloud/kb-addon-reviewers
addons-cluster/minio/ @ldming @leon-inf @apecloud/kb-reviewers @apecloud/kb-addon-reviewers

addons/mogdb/ @yabinji @shanshanying @leon-inf @apecloud/kb-reviewers @apecloud/kb-addon-reviewers
addons-cluster/mogdb/ @yabinji @shanshanying @leon-inf @apecloud/kb-reviewers @apecloud/kb-addon-reviewers
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ KubeBlocks add-ons.
| loki | loki-1.0.0 | Loki is a horizontally-scalable, highly-available, multi-tenant log aggregation system inspired by Prometheus. It is designed to be very cost effective and easy to operate. | Chen-speculation |
| mariadb | mariadb-10.6.15 | MariaDB is a high performance open source relational database management system that is widely used for web and application servers | yinmin |
| milvus | milvus-2.5.13<br>milvus-v2.3.2 | A cloud-native vector database, storage for next generation AI applications. | leon-inf |
| minio | minio-2024.6.29 | High Performance, Kubernetes Native Object Storage | fengluodb |
| minio | minio-2024.6.29<br>minio-2025.10.15 | High Performance, Kubernetes Native Object Storage | ldming |
| mogdb | mogdb-5.0.5 | A Helm chart for Kubernetes | yabinji shanshanying |
| mongodb | mongodb-4.4.29<br>mongodb-5.0.29<br>mongodb-6.0.21<br>mongodb-7.0.18<br>mongodb-8.0.8<br>mongodb-shard-4.4.29<br>mongodb-shard-5.0.29<br>mongodb-shard-6.0.21<br>mongodb-shard-7.0.18<br>mongodb-shard-8.0.8<br>mongos-4.4.29<br>mongos-5.0.29<br>mongos-6.0.21<br>mongos-7.0.18<br>mongos-8.0.8 | MongoDB is a document database designed for ease of application development and scaling. | xuriwuyun |
| mysql | mysql-5.7.44<br>mysql-8.0.30<br>mysql-8.0.31<br>mysql-8.0.32<br>mysql-8.0.33<br>mysql-8.0.34<br>mysql-8.0.35<br>mysql-8.0.36<br>mysql-8.0.37<br>mysql-8.0.38<br>mysql-8.0.39<br>mysql-8.4.0<br>mysql-8.4.1<br>mysql-8.4.2<br>mysql-8.4.3<br>mysql-8.4.7<br>mysql-mgr-8.0.30<br>mysql-mgr-8.0.31<br>mysql-mgr-8.0.32<br>mysql-mgr-8.0.33<br>mysql-mgr-8.0.34<br>mysql-mgr-8.0.35<br>mysql-mgr-8.0.36<br>mysql-mgr-8.0.37<br>mysql-mgr-8.0.38<br>mysql-mgr-8.0.39<br>mysql-mgr-8.4.0<br>mysql-mgr-8.4.1<br>mysql-mgr-8.4.2<br>mysql-orc-5.7.44<br>mysql-orc-8.0.30<br>mysql-orc-8.0.31<br>mysql-orc-8.0.32<br>mysql-orc-8.0.33<br>mysql-orc-8.0.34<br>mysql-orc-8.0.35<br>mysql-orc-8.0.36<br>mysql-orc-8.0.37<br>mysql-orc-8.0.38<br>mysql-orc-8.0.39<br>mysql-proxysql-2.4.4 | MySQL is a widely used, open-source relational database management system (RDBMS) | xuriwuyun |
Expand Down
2 changes: 1 addition & 1 deletion addons/minio/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ sources:
- https://github.com/minio/minio

maintainers:
- name: fengluodb
- name: ldming
url: https://github.com/apecloud/kubeblocks/

annotations:
Expand Down
17 changes: 17 additions & 0 deletions addons/minio/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,20 @@ Define minio config template name
{{- define "minio.configTplName" -}}
minio-config-template
{{- end -}}

{{/*
Get MinIO default service version
*/}}
{{- define "minio.defaultServiceVersion" -}}
{{- $defaultVersion := "" -}}
{{- range .Values.versions -}}
{{- if .isDefault -}}
{{- $defaultVersion = .serviceVersion -}}
{{- break -}}
{{- end -}}
{{- end -}}
{{- if not $defaultVersion -}}
{{- $defaultVersion = (index .Values.versions 0).serviceVersion -}}
{{- end -}}
{{- $defaultVersion -}}
{{- end -}}
6 changes: 4 additions & 2 deletions addons/minio/templates/cmpd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
provider: kubeblocks
description: Minio is a High Performance Object Storage.
serviceKind: minio
serviceVersion: {{ .Values.defaultServiceVersion.minio }}
serviceVersion: {{ include "minio.defaultServiceVersion" . }}
minReadySeconds: 10
replicasLimit:
minReplicas: 2
Expand Down Expand Up @@ -122,7 +122,9 @@ spec:
- /bin/sh
- -c
- |
if mc config host add minio http://127.0.0.1:9000 $MINIO_ROOT_USER $MINIO_ROOT_PASSWORD &>/dev/null; then
# Set alias and check MinIO readiness using mc command
mc alias set local http://127.0.0.1:9000 $MINIO_ROOT_USER $MINIO_ROOT_PASSWORD >/dev/null 2>&1
if mc admin info local >/dev/null 2>&1; then
echo -n "readwrite"
else
echo -n "notready"
Expand Down
16 changes: 10 additions & 6 deletions addons/minio/templates/cmpv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ metadata:
spec:
compatibilityRules:
- releases:
- 2024.6.29
{{- range .Values.versions }}
- {{ .serviceVersion }}
{{- end }}
compDefs:
- {{ include "minio.cmpdRegexpPattern" . }}
releases:
- name: 2024.6.29
serviceVersion: 2024.6.29
{{- range .Values.versions }}
- name: {{ .serviceVersion }}
serviceVersion: {{ .serviceVersion }}
images:
minio: &minioImage {{ .Values.image.registry | default "docker.io" }}/{{ .Values.image.repository }}:RELEASE.2024-06-29T01-20-47Z
roleProbe: *minioImage
init: {{ .Values.image.registry | default "docker.io" }}/apecloud/kubeblocks-tools:1.0.0
minio: {{ $.Values.image.registry | default "docker.io" }}/{{ $.Values.image.repository }}:{{ .tag }}
roleProbe: {{ $.Values.image.registry | default "docker.io" }}/{{ $.Values.image.repository }}:{{ .tag }}
init: {{ $.Values.image.registry | default "docker.io" }}/apecloud/kubeblocks-tools:1.0.0
{{- end }}
30 changes: 15 additions & 15 deletions addons/minio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ nameOverride: ""
fullnameOverride: ""

## Set default image, imageTag, and imagePullPolicy. mode is used to indicate the
## Note: from RELEASE.2025-10-15T17-29-55Z, minio changed to source code only distribution,
## so we use the image hosted on coollabsio/minio. If you want to use the old version,
## please set the image.repository to minio/minio.
## Ref: https://github.com/minio/minio?tab=readme-ov-file#source-only-distribution
##
image:
registry: docker.io
repository: minio/minio
tag: RELEASE.2024-06-29T01-20-47Z
repository: coollabsio/minio
pullPolicy: IfNotPresent

## @param define default serviceVersion
defaultServiceVersion:
minio: 2024.6.29

## Set default image, imageTag, and imagePullPolicy for the `mc` (the minio
## client used to create a default bucket).
##
mcImage:
# if the value of mcImage.registry is not specified using `--set`, it will be set to the value of 'image.registry' by default
registry: ""
repository: minio/mc
tag: RELEASE.2024-04-18T16-45-29Z
pullPolicy: IfNotPresent
## @param versions MinIO versions configuration
## Array of versions with specific image tags and service versions
versions:
- version: "2024.6.29"
tag: "RELEASE.2024-06-29T01-20-47Z"
serviceVersion: "2024.6.29"
- version: "2025.10.15"
tag: "RELEASE.2025-10-15T17-29-55Z"
serviceVersion: "2025.10.15"
isDefault: true

## Internal port number for MinIO S3 API container
## Change service.port to change external port number
Expand Down