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 1
1
# Changelog
2
2
3
- ## 0.4 .0 (2025-10-06 )
3
+ ## 0.5 .0 (2025-10-08 )
4
4
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 ) )
6
6
7
7
## <small >0.2.4 (2025-09-30)</small >
8
8
61
61
* remove serviceaccounts from all charts ([ be8f43a] ( https://github.com/GitGuardian/gitguardian-helm-charts/commit/be8f43a ) )
62
62
* update readme, chart.yaml texts and descriptions ([ 0179046] ( https://github.com/GitGuardian/gitguardian-helm-charts/commit/0179046 ) )
63
63
* 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
2
2
name : minio
3
3
description : High Performance Object Storage compatible with Amazon S3 APIs
4
4
type : application
5
- version : 0.4 .0
5
+ version : 0.5 .0
6
6
appVersion : " 2025.09.07"
7
7
keywords :
8
8
- minio
Original file line number Diff line number Diff line change @@ -116,4 +116,15 @@ Return MinIO server URL args
116
116
{ {- else -} }
117
117
{ {- printf " --console-address :%d --address :%d" (int .Values.service.consolePort) (int .Values.service.port) -} }
118
118
{ {- 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 32
32
{{- with (include "minio.imagePullSecrets" .) }}
33
33
{{ . | nindent 6 }}
34
34
{{- end }}
35
+ serviceAccountName : {{ template "minio.serviceAccountName" . }}
35
36
securityContext : {{ include "common.renderPodSecurityContext" . | nindent 8 }}
36
37
containers :
37
38
- 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:
195
195
# # @param mountPath The path where to mount the data volume
196
196
mountPath : /mnt/data
197
197
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
+
198
212
# # @section Liveness and readiness probes
199
213
livenessProbe :
200
214
# # @param livenessProbe.enabled Enable livenessProbe on MinIO containers
You can’t perform that action at this time.
0 commit comments