mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
helm: align chart properties with naming convention (#17065)
This commit is contained in:
@@ -18,11 +18,11 @@ metadata:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
strategy:
|
strategy:
|
||||||
type: {{ .Values.DeploymentUpdate.type }}
|
type: {{ .Values.deploymentUpdate.type }}
|
||||||
{{- if eq .Values.DeploymentUpdate.type "RollingUpdate" }}
|
{{- if eq .Values.deploymentUpdate.type "RollingUpdate" }}
|
||||||
rollingUpdate:
|
rollingUpdate:
|
||||||
maxSurge: {{ .Values.DeploymentUpdate.maxSurge }}
|
maxSurge: {{ .Values.deploymentUpdate.maxSurge }}
|
||||||
maxUnavailable: {{ .Values.DeploymentUpdate.maxUnavailable }}
|
maxUnavailable: {{ .Values.deploymentUpdate.maxUnavailable }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ spec:
|
|||||||
storageClassName: "{{ .Values.persistence.storageClass }}"
|
storageClassName: "{{ .Values.persistence.storageClass }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.persistence.VolumeName }}
|
{{- if .Values.persistence.volumeName }}
|
||||||
volumeName: "{{ .Values.persistence.VolumeName }}"
|
volumeName: "{{ .Values.persistence.volumeName }}"
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ metadata:
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
type: {{ .Values.StatefulSetUpdate.updateStrategy }}
|
type: {{ .Values.statefulSetUpdate.updateStrategy }}
|
||||||
podManagementPolicy: "Parallel"
|
podManagementPolicy: "Parallel"
|
||||||
serviceName: {{ template "minio.fullname" . }}-svc
|
serviceName: {{ template "minio.fullname" . }}-svc
|
||||||
replicas: {{ $replicas }}
|
replicas: {{ $replicas }}
|
||||||
|
|||||||
@@ -64,13 +64,13 @@ minioAPIPort: "9000"
|
|||||||
minioConsolePort: "9001"
|
minioConsolePort: "9001"
|
||||||
|
|
||||||
## Update strategy for Deployments
|
## Update strategy for Deployments
|
||||||
DeploymentUpdate:
|
deploymentUpdate:
|
||||||
type: RollingUpdate
|
type: RollingUpdate
|
||||||
maxUnavailable: 0
|
maxUnavailable: 0
|
||||||
maxSurge: 100%
|
maxSurge: 100%
|
||||||
|
|
||||||
## Update strategy for StatefulSets
|
## Update strategy for StatefulSets
|
||||||
StatefulSetUpdate:
|
statefulSetUpdate:
|
||||||
updateStrategy: RollingUpdate
|
updateStrategy: RollingUpdate
|
||||||
|
|
||||||
## Pod priority settings
|
## Pod priority settings
|
||||||
@@ -157,7 +157,7 @@ persistence:
|
|||||||
## Storage class of PV to bind. By default it looks for standard storage class.
|
## Storage class of PV to bind. By default it looks for standard storage class.
|
||||||
## If the PV uses a different storage class, specify that here.
|
## If the PV uses a different storage class, specify that here.
|
||||||
storageClass: ""
|
storageClass: ""
|
||||||
VolumeName: ""
|
volumeName: ""
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
size: 500Gi
|
size: 500Gi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user