diff --git a/helm/minio/templates/console-ingress.yaml b/helm/minio/templates/console-ingress.yaml index 9d2d8abb1..3df9242df 100644 --- a/helm/minio/templates/console-ingress.yaml +++ b/helm/minio/templates/console-ingress.yaml @@ -36,18 +36,18 @@ spec: - http: paths: - path: {{ $ingressPath }} - {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} + {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} pathType: Prefix backend: service: name: {{ $fullName }} port: number: {{ $servicePort }} - {{- else }} + {{- else }} backend: serviceName: {{ $fullName }} servicePort: {{ $servicePort }} - {{- end }} + {{- end }} {{- if . }} host: {{ . | quote }} {{- end }} diff --git a/helm/minio/templates/deployment.yaml b/helm/minio/templates/deployment.yaml index 5db589b9b..435ad1c4e 100644 --- a/helm/minio/templates/deployment.yaml +++ b/helm/minio/templates/deployment.yaml @@ -18,11 +18,11 @@ metadata: {{- end }} spec: strategy: - type: {{ .Values.DeploymentUpdate.type }} - {{- if eq .Values.DeploymentUpdate.type "RollingUpdate" }} + type: {{ .Values.deploymentUpdate.type }} + {{- if eq .Values.deploymentUpdate.type "RollingUpdate" }} rollingUpdate: - maxSurge: {{ .Values.DeploymentUpdate.maxSurge }} - maxUnavailable: {{ .Values.DeploymentUpdate.maxUnavailable }} + maxSurge: {{ .Values.deploymentUpdate.maxSurge }} + maxUnavailable: {{ .Values.deploymentUpdate.maxUnavailable }} {{- end }} replicas: 1 selector: diff --git a/helm/minio/templates/pvc.yaml b/helm/minio/templates/pvc.yaml index a68138ffe..60f5267b0 100644 --- a/helm/minio/templates/pvc.yaml +++ b/helm/minio/templates/pvc.yaml @@ -25,8 +25,8 @@ spec: storageClassName: "{{ .Values.persistence.storageClass }}" {{- end }} {{- end }} - {{- if .Values.persistence.VolumeName }} - volumeName: "{{ .Values.persistence.VolumeName }}" + {{- if .Values.persistence.volumeName }} + volumeName: "{{ .Values.persistence.volumeName }}" {{- end }} {{- end }} {{- end }} diff --git a/helm/minio/templates/statefulset.yaml b/helm/minio/templates/statefulset.yaml index a66caee0d..e4fbae7ac 100644 --- a/helm/minio/templates/statefulset.yaml +++ b/helm/minio/templates/statefulset.yaml @@ -49,7 +49,7 @@ metadata: {{- end }} spec: updateStrategy: - type: {{ .Values.StatefulSetUpdate.updateStrategy }} + type: {{ .Values.statefulSetUpdate.updateStrategy }} podManagementPolicy: "Parallel" serviceName: {{ template "minio.fullname" . }}-svc replicas: {{ $replicas }} diff --git a/helm/minio/values.yaml b/helm/minio/values.yaml index 2290c3206..e1e48fe12 100644 --- a/helm/minio/values.yaml +++ b/helm/minio/values.yaml @@ -64,13 +64,13 @@ minioAPIPort: "9000" minioConsolePort: "9001" ## Update strategy for Deployments -DeploymentUpdate: +deploymentUpdate: type: RollingUpdate maxUnavailable: 0 maxSurge: 100% ## Update strategy for StatefulSets -StatefulSetUpdate: +statefulSetUpdate: updateStrategy: RollingUpdate ## Pod priority settings @@ -157,7 +157,7 @@ persistence: ## 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. storageClass: "" - VolumeName: "" + volumeName: "" accessMode: ReadWriteOnce size: 500Gi