File tree Expand file tree Collapse file tree 6 files changed +47
-8
lines changed Expand file tree Collapse file tree 6 files changed +47
-8
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3- ## 0.4 .0 (2025-10-06 )
3+ ## 0.5 .0 (2025-10-08 )
44
5- * [ minio] add post job to auto create default buckets ([ #9 ] ( https://github.com/GitGuardian/gitguardian-helm-charts/pull/9 ) )
5+ * feat( minio): add serviceAccount to MinIO deployment ([ #14 ] ( https://github.com/GitGuardian/gitguardian-helm-charts/pull/14 ) )
66
77## <small >0.2.4 (2025-09-30)</small >
88
6161* remove serviceaccounts from all charts ([ be8f43a] ( https://github.com/GitGuardian/gitguardian-helm-charts/commit/be8f43a ) )
6262* update readme, chart.yaml texts and descriptions ([ 0179046] ( https://github.com/GitGuardian/gitguardian-helm-charts/commit/0179046 ) )
6363* Use lookup function for password where applicable ([ dfb9a0e] ( https://github.com/GitGuardian/gitguardian-helm-charts/commit/dfb9a0e ) )
64- =======
65- ## 0.3.0 (2025-10-05)
66-
67- * [ mariadb] use tpl to return existingConfigMap ([ #217 ] ( https://github.com/CloudPirates-io/helm-charts/pull/217 ) )
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : minio
33description : High Performance Object Storage compatible with Amazon S3 APIs
44type : application
5- version : 0.4 .0
5+ version : 0.5 .0
66appVersion : " 2025.09.07"
77keywords :
88 - minio
Original file line number Diff line number Diff 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 -} }
Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff line change @@ -195,6 +195,20 @@ persistence:
195195 # # @param mountPath The path where to mount the data volume
196196 mountPath : /mnt/data
197197
198+ serviceAccount :
199+ # # @param serviceAccount.create Enable the creation of a ServiceAccount for MinIO
200+ create : true
201+ # # @param serviceAccount.name Name of the created ServiceAccount
202+ # # If not set and create is true, a name is generated using the common.names.fullname template
203+ # #
204+ name : " "
205+ # # @param serviceAccount.automountServiceAccountToken Enable/disable auto mounting of the service account token
206+ # #
207+ automountServiceAccountToken : false
208+ # # @param serviceAccount.annotations Custom annotations for MinIO serviceAccount
209+ # #
210+ annotations : {}
211+
198212# # @section Liveness and readiness probes
199213livenessProbe :
200214 # # @param livenessProbe.enabled Enable livenessProbe on MinIO containers
You can’t perform that action at this time.
0 commit comments