This commit is contained in:
Ian Roberts 2025-10-02 08:37:35 +08:00 committed by GitHub
commit 16f1cbfc9f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 36 additions and 7 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v1 apiVersion: v1
description: High Performance Object Storage description: High Performance Object Storage
name: minio name: minio
version: 5.4.0 version: 5.4.1
appVersion: RELEASE.2024-12-18T13-15-44Z appVersion: RELEASE.2024-12-18T13-15-44Z
keywords: keywords:
- minio - minio

View File

@ -8,8 +8,11 @@ metadata:
chart: {{ template "minio.chart" . }} chart: {{ template "minio.chart" . }}
release: {{ .Release.Name }} release: {{ .Release.Name }}
heritage: {{ .Release.Service }} heritage: {{ .Release.Service }}
{{- if .Values.consoleService.annotations }} {{- with .Values.consoleService.labels }}
annotations: {{- toYaml .Values.consoleService.annotations | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.consoleService.annotations }}
annotations: {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
spec: spec:
type: {{ .Values.consoleService.type }} type: {{ .Values.consoleService.type }}

View File

@ -8,6 +8,9 @@ metadata:
chart: {{ template "minio.chart" . }} chart: {{ template "minio.chart" . }}
release: {{ .Release.Name }} release: {{ .Release.Name }}
heritage: {{ .Release.Service }} heritage: {{ .Release.Service }}
{{- with .Values.postJob.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
annotations: annotations:
"helm.sh/hook": post-install,post-upgrade "helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation "helm.sh/hook-delete-policy": hook-succeeded,before-hook-creation

View File

@ -9,8 +9,11 @@ metadata:
chart: {{ template "minio.chart" . }} chart: {{ template "minio.chart" . }}
release: {{ .Release.Name }} release: {{ .Release.Name }}
heritage: {{ .Release.Service }} heritage: {{ .Release.Service }}
{{- if .Values.persistence.annotations }} {{- with .Values.persistence.labels }}
annotations: {{- toYaml .Values.persistence.annotations | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.persistence.annotations }}
annotations: {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
spec: spec:
accessModes: accessModes:

View File

@ -9,8 +9,12 @@ metadata:
release: {{ .Release.Name }} release: {{ .Release.Name }}
heritage: {{ .Release.Service }} heritage: {{ .Release.Service }}
monitoring: "true" monitoring: "true"
{{- if .Values.service.annotations }} {{- with .Values.service.labels }}
annotations: {{- toYaml .Values.service.annotations | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.service.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
spec: spec:
type: {{ .Values.service.type }} type: {{ .Values.service.type }}

View File

@ -3,4 +3,12 @@ apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: {{ .Values.serviceAccount.name | quote }} name: {{ .Values.serviceAccount.name | quote }}
{{- with .Values.serviceAccount.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.serviceAccount.labels }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }} {{- end }}

View File

@ -144,6 +144,7 @@ trustedCertsSecret: ""
persistence: persistence:
enabled: true enabled: true
annotations: {} annotations: {}
labels: {}
## A manually managed Persistent Volume and Claim ## A manually managed Persistent Volume and Claim
## Requires persistence.enabled: true ## Requires persistence.enabled: true
@ -181,6 +182,7 @@ service:
loadBalancerIP: ~ loadBalancerIP: ~
externalIPs: [] externalIPs: []
annotations: {} annotations: {}
labels: {}
## service.loadBalancerSourceRanges Addresses that are allowed when service is LoadBalancer ## service.loadBalancerSourceRanges Addresses that are allowed when service is LoadBalancer
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service ## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
@ -228,6 +230,7 @@ consoleService:
loadBalancerIP: ~ loadBalancerIP: ~
externalIPs: [] externalIPs: []
annotations: {} annotations: {}
labels: {}
## consoleService.loadBalancerSourceRanges Addresses that are allowed when service is LoadBalancer ## consoleService.loadBalancerSourceRanges Addresses that are allowed when service is LoadBalancer
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service ## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
## ##
@ -503,6 +506,7 @@ customCommandJob:
postJob: postJob:
podAnnotations: {} podAnnotations: {}
annotations: {} annotations: {}
labels: {}
securityContext: securityContext:
enabled: false enabled: false
runAsUser: 1000 runAsUser: 1000
@ -594,6 +598,10 @@ serviceAccount:
## The name of the service account to use. If 'create' is 'true', a service account with that name ## The name of the service account to use. If 'create' is 'true', a service account with that name
## will be created. ## will be created.
name: "minio-sa" name: "minio-sa"
## Annotations to add to the created service account
annotations: {}
## Labels to add to the created service account
labels: {}
metrics: metrics:
serviceMonitor: serviceMonitor: