Skip to content

Commit 47d3947

Browse files
ixxeL2097Frederic Spiersrenovate[bot]zOnlyKroksgithub-actions[bot]
authored
[minio] add auto bucket creation through k8s job and option to create ServiceAccount for Deployment (CloudPirates-io#288)
* feat(ci): implement ci for for workflow * fix(minio): revert to 0.2.4 * [postgres] chore(deps): update postgres:17.6 Docker digest to e6a4209 (CloudPirates-io#173) * [postgres] chore(deps): update postgres:17.6 Docker digest to e6a4209 * Bump chart version * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Finn Rades <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [memcached] chore(deps): update docker.io/memcached:1.6.39 Docker digest to 157c563 (CloudPirates-io#185) * [memcached] chore(deps): update docker.io/memcached:1.6.39 Docker digest to 157c563 * Bump chart version * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Finn Rades <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [minio] add post job to auto create default buckets (#9) * [minio] add post job to auto create default buckets * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [minio] using better script for auto bucket * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [minio] using better script for auto bucket * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Frederic Spiers <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [rabbitmq] make rabbitmq run on openshift (CloudPirates-io#201) * make rabbitmq run on openshift * Rename "securityContext" to "containerSecurityContext" to provide a more descriptive name for the container's security context in the values schema. * [valkey] make valkey run on openshift (CloudPirates-io#206) * make valkey run on openshift * Update the container security context key from "securityContext" to "containerSecurityContext" in the values schema file. * [minio, mongodb, postgres, timescaledb] Update securityContext to containerSecurityContext in the values schema (CloudPirates-io#213) Update securityContext to containerSecurityContext in the values schema files for MinIO, MongoDB, Postgres, and TimescaleDB charts. * [keycloak] Allow keycloak to have a relative path (CloudPirates-io#216) * all keycloak to have a relative path * bump chart version * Updated readme * updated values schema --------- Co-authored-by: Rob Theriault <[email protected]> * [mariadb] use tpl to return existingConfigMap (CloudPirates-io#217) * [mariadb] use tpl to return existingConfigMap * [mariadb] Bump chart version * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [redis] chore(deps): update docker.io/redis:8.2.1 Docker digest to 5fa2edb (CloudPirates-io#187) * [redis] chore(deps): update docker.io/redis:8.2.1 Docker digest to 5fa2edb * Bump chart version * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Finn Rades <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [redis] chore(deps): update redis:8.2.1 Docker digest to 5fa2edb (CloudPirates-io#188) * [redis] chore(deps): update redis:8.2.1 Docker digest to 5fa2edb * [redis] chore(deps): update redis:8.2.1 Docker digest to 5fa2edb * Bump chart version * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Finn Rades <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [rabbitmq] chore(deps): update docker.io/rabbitmq:4.1.4-management Docker digest to 8c31e22 (CloudPirates-io#204) * [rabbitmq] chore(deps): update docker.io/rabbitmq:4.1.4-management Docker digest to 8c31e22 * Bump chart version * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Finn Rades <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [mariadb] chore(deps): update docker.io/mariadb:12.0.2 Docker digest to 03a03a6 (CloudPirates-io#207) * [mariadb] chore(deps): update docker.io/mariadb:12.0.2 Docker digest to 03a03a6 * Bump chart version * [mariadb] chore(deps): update docker.io/mariadb:12.0.2 Docker digest to 03a03a6 * Bump chart version, again * Bump chart version, again v2 * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Finn Rades <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [mariadb] chore(deps): update mariadb:12.0.2 Docker digest to 03a03a6 (CloudPirates-io#208) * [mariadb] chore(deps): update mariadb:12.0.2 Docker digest to 03a03a6 * [mariadb] chore(deps): update mariadb:12.0.2 Docker digest to 03a03a6 * Bump chart versions * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Finn Rades <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [keycloak] Add support for extra volumes, volumeMounts and initContainers (CloudPirates-io#215) * [keycloak] Add support for extraVolumes and extraVolumeMounts in keycloak pod * [keycloak] Add support for extraInitContainers in keycloak pod * [keycloak] Update README.md with extraVolumes, extraVolumeMounts and extraInitContainers * [keycloak] Bump chart version to 0.2.0 * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [keycloak] Always mount /opt/keycloak/data using emptyDir if presistence is disabled * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Jonathan Zaehringer <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat(pgsql): merged initscript to avoid mount error, fixed quote from… (#13) * feat(pgsql): merged initscript to avoid mount error, fixed quote from preloadlibrary and ajusted custom mount for init scripts * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Frederic Spiers <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat(minio): add serviceAccount to MinIO deployment (#14) * feat(minio): add serviceAccount to MinIO deployment * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Frederic Spiers <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(minio): values schema update * chore(contrib): update contrib script * refactor(contrib): prepare contribution * feat(minio): add serviceAccount to MinIO deployment (#14) * feat(minio): add serviceAccount to MinIO deployment * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Frederic Spiers <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(minio): values schema update * feat(minio): add post job to auto create default buckets (#9) * [minio] add post job to auto create default buckets * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [minio] using better script for auto bucket * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * [minio] using better script for auto bucket * Update CHANGELOG.md Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Frederic Spiers <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Frederic Spiers <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Finn Rades <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Gianni <[email protected]> Co-authored-by: Rob <[email protected]> Co-authored-by: Rob Theriault <[email protected]> Co-authored-by: Faouzi <[email protected]> Co-authored-by: Finn Rades <[email protected]> Co-authored-by: Jonathan Zaehringer <[email protected]> Co-authored-by: Jonathan Zaehringer <[email protected]>
1 parent 5425131 commit 47d3947

File tree

9 files changed

+267
-3
lines changed

9 files changed

+267
-3
lines changed

charts/minio/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
## 0.3.0 (2025-10-09)
44

5-
* [mongodb] feat: add metrics exporter ([#243](https://github.com/CloudPirates-io/helm-charts/pull/243))
5+
* [mongodb] feat: add metrics exporter ([#243](https://github.com/CloudPirates-io/helm-charts/pull/243))

charts/minio/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: minio
33
description: High Performance Object Storage compatible with Amazon S3 APIs
44
type: application
5-
version: 0.3.0
5+
version: 0.4.0
66
appVersion: "2025.09.07"
77
keywords:
88
- minio

charts/minio/templates/_helpers.tpl

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,15 @@ Return MinIO server URL args
116116
{{- else -}}
117117
{{- printf "--console-address :%d --address :%d" (int .Values.service.consolePort) (int .Values.service.port) -}}
118118
{{- end -}}
119-
{{- end }}
119+
{{- end }}
120+
121+
{{/*
122+
Returns MinIO serviceAccount name
123+
*/}}
124+
{{- define "minio.serviceAccountName" -}}
125+
{{- if .Values.serviceAccount.create -}}
126+
{{ default (include "minio.fullname" .) .Values.serviceAccount.name }}
127+
{{- else -}}
128+
{{ default "default" .Values.serviceAccount.name }}
129+
{{- end -}}
130+
{{- end -}}

charts/minio/templates/deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ spec:
3232
{{- with (include "minio.imagePullSecrets" .) }}
3333
{{ . | nindent 6 }}
3434
{{- end }}
35+
serviceAccountName: {{ template "minio.serviceAccountName" . }}
3536
securityContext: {{ include "common.renderPodSecurityContext" . | nindent 8 }}
3637
containers:
3738
- name: {{ .Chart.Name }}
Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
{{- if .Values.defaultBuckets }}
2+
apiVersion: v1
3+
kind: ConfigMap
4+
metadata:
5+
name: {{ include "minio.fullname" . }}-post-job
6+
namespace: {{ .Release.Namespace }}
7+
labels:
8+
{{- include "minio.labels" . | nindent 4 }}
9+
{{- if .Values.commonAnnotations }}
10+
annotations:
11+
{{- include "minio.annotations" . | nindent 4 }}
12+
{{- end }}
13+
data:
14+
provision-buckets.sh: |
15+
#!/bin/sh
16+
set -e
17+
18+
MINIO_URL="http://{{ include "minio.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local:{{ .Values.service.port }}"
19+
MINIO_STARTUP_TIMEOUT="${MINIO_STARTUP_TIMEOUT:-300}"
20+
21+
echo "=== MinIO Bucket Provisioning ==="
22+
echo "Target: $MINIO_URL"
23+
24+
########################
25+
# Check if MinIO is live
26+
########################
27+
is_minio_live() {
28+
local status_code
29+
status_code=$(curl --write-out '%{http_code}' --silent --output /dev/null "${MINIO_URL}/minio/health/live")
30+
if [ "$status_code" = "200" ]; then
31+
return 0
32+
else
33+
return 1
34+
fi
35+
}
36+
37+
########################
38+
# Wait for MinIO start
39+
########################
40+
wait_for_minio() {
41+
local waited_time
42+
waited_time=0
43+
echo "Waiting for MinIO to be ready..."
44+
while ! is_minio_live && [ "$waited_time" -lt "$MINIO_STARTUP_TIMEOUT" ]; do
45+
echo "MinIO not ready yet, waiting... (${waited_time}s/${MINIO_STARTUP_TIMEOUT}s)"
46+
sleep 5
47+
waited_time=$((waited_time + 5))
48+
done
49+
50+
if [ "$waited_time" -ge "$MINIO_STARTUP_TIMEOUT" ]; then
51+
echo "Timeout: MinIO not ready after ${MINIO_STARTUP_TIMEOUT}s"
52+
return 1
53+
fi
54+
echo "MinIO is ready!"
55+
}
56+
57+
########################
58+
# MinIO client configuration
59+
########################
60+
configure_minio_client() {
61+
echo "Configuring MinIO client..."
62+
mc alias set local "$MINIO_URL" "${MINIO_ROOT_USER}" "${MINIO_ROOT_PASSWORD}"
63+
64+
echo "Testing MinIO client connection..."
65+
mc ready local
66+
}
67+
68+
########################
69+
# Create default buckets
70+
########################
71+
minio_create_default_buckets() {
72+
if [ -n "{{ .Values.defaultBuckets }}" ]; then
73+
buckets=$(echo "{{ .Values.defaultBuckets }}" | tr ',;' ' ')
74+
echo "Creating default buckets..."
75+
76+
for b in $buckets; do
77+
bucket_name=$(echo "$b" | cut -d':' -f1)
78+
bucket_policy=$(echo "$b" | cut -s -d':' -f2)
79+
80+
bucket_name=$(echo "$bucket_name" | xargs)
81+
82+
if [ -z "$bucket_name" ]; then
83+
continue
84+
fi
85+
86+
echo "Processing bucket: $bucket_name"
87+
88+
if mc ls "local/$bucket_name" >/dev/null 2>&1; then
89+
echo "Bucket local/$bucket_name already exists, skipping creation."
90+
else
91+
echo "Creating bucket: local/$bucket_name"
92+
{{- if .Values.config.region }}
93+
mc mb --region "{{ .Values.config.region }}" "local/$bucket_name"
94+
{{- else }}
95+
mc mb "local/$bucket_name"
96+
{{- end }}
97+
echo "Bucket local/$bucket_name created successfully."
98+
fi
99+
100+
if [ -n "$bucket_policy" ]; then
101+
echo "Setting policy $bucket_policy for local bucket $bucket_name"
102+
mc anonymous set "$bucket_policy" "local/$bucket_name"
103+
fi
104+
done
105+
fi
106+
}
107+
108+
########################
109+
# Main execution
110+
########################
111+
112+
wait_for_minio
113+
114+
configure_minio_client
115+
116+
minio_create_default_buckets
117+
118+
echo "Bucket provisioning completed successfully."
119+
{{- end }}
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{{- if .Values.defaultBuckets }}
2+
apiVersion: batch/v1
3+
kind: Job
4+
metadata:
5+
name: {{ include "minio.fullname" . }}-post-job
6+
namespace: {{ .Release.Namespace }}
7+
labels:
8+
{{- include "minio.labels" . | nindent 4 }}
9+
annotations:
10+
{{- if .Values.commonAnnotations }}
11+
{{- include "minio.annotations" . | nindent 4 }}
12+
{{- end }}
13+
spec:
14+
ttlSecondsAfterFinished: 600
15+
activeDeadlineSeconds: 300
16+
completions: 1
17+
parallelism: 1
18+
backoffLimit: 3
19+
template:
20+
metadata:
21+
labels:
22+
{{- include "minio.selectorLabels" . | nindent 8 }}
23+
app.kubernetes.io/component: post-job
24+
spec:
25+
{{- with (include "minio.imagePullSecrets" .) }}
26+
{{ . | nindent 6 }}
27+
{{- end }}
28+
restartPolicy: OnFailure
29+
securityContext: {{ include "common.renderPodSecurityContext" . | nindent 8 }}
30+
containers:
31+
- name: post-job
32+
image: {{ include "minio.image" . }}
33+
imagePullPolicy: IfNotPresent
34+
command: ["/bin/sh", "/scripts/provision-buckets.sh"]
35+
env:
36+
- name: MINIO_ROOT_USER
37+
valueFrom:
38+
secretKeyRef:
39+
name: {{ include "minio.secretName" . }}
40+
key: {{ include "minio.rootUser" . }}
41+
- name: MINIO_ROOT_PASSWORD
42+
valueFrom:
43+
secretKeyRef:
44+
name: {{ include "minio.secretName" . }}
45+
key: {{ include "minio.rootPasswordKey" . }}
46+
volumeMounts:
47+
- name: scripts
48+
mountPath: /scripts
49+
- name: tmp
50+
mountPath: /tmp
51+
securityContext:
52+
{{- $securityContext := include "common.renderContainerSecurityContext" . | fromYaml }}
53+
{{- $_ := set $securityContext "readOnlyRootFilesystem" false }}
54+
{{- toYaml $securityContext | nindent 12 }}
55+
volumes:
56+
- name: scripts
57+
configMap:
58+
name: {{ include "minio.fullname" . }}-post-job
59+
defaultMode: 0755
60+
- name: tmp
61+
emptyDir: {}
62+
{{- end }}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{{- if .Values.serviceAccount.create }}
2+
apiVersion: v1
3+
kind: ServiceAccount
4+
metadata:
5+
name: {{ include "minio.fullname" . }}
6+
namespace: {{ .Release.Namespace }}
7+
labels:
8+
{{- include "minio.labels" . | nindent 4 }}
9+
{{- $annotations := merge .Values.serviceAccount.annotations .Values.commonAnnotations }}
10+
{{- with $annotations }}
11+
annotations:
12+
{{- toYaml . | nindent 4 }}
13+
{{- end }}
14+
automountServiceAccountToken: {{ .Values.serviceAccount.automountServiceAccountToken }}
15+
secrets:
16+
- name: {{ include "minio.fullname" . }}
17+
{{- end }}

charts/minio/values.schema.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,40 @@
558558
}
559559
}
560560
},
561+
"serviceAccount": {
562+
"type": "object",
563+
"title": "Service Account Configuration",
564+
"description": "Service Account configuration parameters",
565+
"properties": {
566+
"create": {
567+
"type": "boolean",
568+
"title": "Create Service Account",
569+
"description": "Enable the creation of a ServiceAccount for MinIO",
570+
"default": true
571+
},
572+
"name": {
573+
"type": "string",
574+
"title": "Service Account Name",
575+
"description": "Name of the created ServiceAccount. If not set and create is true, a name is generated using the common.names.fullname template",
576+
"default": ""
577+
},
578+
"automountServiceAccountToken": {
579+
"type": "boolean",
580+
"title": "Automount Service Account Token",
581+
"description": "Enable/disable auto mounting of the service account token",
582+
"default": false
583+
},
584+
"annotations": {
585+
"type": "object",
586+
"title": "Service Account Annotations",
587+
"description": "Custom annotations for MinIO serviceAccount",
588+
"additionalProperties": {
589+
"type": "string"
590+
},
591+
"default": {}
592+
}
593+
}
594+
},
561595
"livenessProbe": {
562596
"type": "object",
563597
"title": "Liveness Probe Configuration",

charts/minio/values.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ config:
7373
## @param config.extraEnvVars Extra environment variables to be set on MinIO containers
7474
extraEnvVars: []
7575

76+
## @section Bucket provisioning
77+
## @param defaultBuckets Comma, semi-colon or space separated list of buckets to create at initialization
78+
## Format: "bucket-name" or "bucket-name:policy" where policy can be: none, download, upload, or public
79+
## e.g: "my-bucket, my-second-bucket:download, my-public-bucket:public"
80+
defaultBuckets: ""
81+
7682
## @section Deployment configuration
7783
replicaCount: 1
7884

@@ -190,6 +196,20 @@ persistence:
190196
## @param mountPath The path where to mount the data volume
191197
mountPath: /mnt/data
192198

199+
serviceAccount:
200+
## @param serviceAccount.create Enable the creation of a ServiceAccount for MinIO
201+
create: true
202+
## @param serviceAccount.name Name of the created ServiceAccount
203+
## If not set and create is true, a name is generated using the common.names.fullname template
204+
##
205+
name: ""
206+
## @param serviceAccount.automountServiceAccountToken Enable/disable auto mounting of the service account token
207+
##
208+
automountServiceAccountToken: false
209+
## @param serviceAccount.annotations Custom annotations for MinIO serviceAccount
210+
##
211+
annotations: {}
212+
193213
## @section Liveness and readiness probes
194214
livenessProbe:
195215
## @param livenessProbe.enabled Enable livenessProbe on MinIO containers

0 commit comments

Comments
 (0)