From 17d83f6bd474bcb5847b0cfe9985138951286ca9 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Date: Wed, 9 Dec 2020 00:45:02 +0500 Subject: [PATCH] Remove priorityClassName setting --- test/minio/8.0.5/README.md | 1 - test/minio/8.0.5/templates/deployment.yaml | 3 --- test/minio/8.0.5/templates/statefulset.yaml | 3 --- test/minio/8.0.5/values.yaml | 5 ----- 4 files changed, 12 deletions(-) diff --git a/test/minio/8.0.5/README.md b/test/minio/8.0.5/README.md index 76ec096539d..d93532eef20 100755 --- a/test/minio/8.0.5/README.md +++ b/test/minio/8.0.5/README.md @@ -161,7 +161,6 @@ The following table lists the configurable parameters of the MinIO chart and the | `persistence.accessMode` | ReadWriteOnce or ReadOnly | `ReadWriteOnce` | | `persistence.subPath` | Mount a sub directory of the persistent volume if set | `""` | | `resources.requests.memory` | Memory resource requests | Memory: `4Gi` | -| `priorityClassName` | Pod priority settings | `""` | | `securityContext.enabled` | Enable to run containers as non-root. NOTE: if `persistence.enabled=false` then securityContext will be automatically disabled | `true` | | `securityContext.runAsUser` | User id of the user for the container | `1000` | | `securityContext.runAsGroup` | Group id of the user for the container | `1000` | diff --git a/test/minio/8.0.5/templates/deployment.yaml b/test/minio/8.0.5/templates/deployment.yaml index b21dcdc4cb0..1e4dd5d2aa7 100644 --- a/test/minio/8.0.5/templates/deployment.yaml +++ b/test/minio/8.0.5/templates/deployment.yaml @@ -35,9 +35,6 @@ spec: checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} spec: - {{- if .Values.priorityClassName }} - priorityClassName: "{{ .Values.priorityClassName }}" - {{- end }} serviceAccountName: {{ include "minio.serviceAccountName" . | quote }} {{- if and .Values.securityContext.enabled .Values.persistence.enabled }} securityContext: diff --git a/test/minio/8.0.5/templates/statefulset.yaml b/test/minio/8.0.5/templates/statefulset.yaml index dacf16f47b3..1ad8d182080 100644 --- a/test/minio/8.0.5/templates/statefulset.yaml +++ b/test/minio/8.0.5/templates/statefulset.yaml @@ -62,9 +62,6 @@ spec: checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} spec: - {{- if .Values.priorityClassName }} - priorityClassName: "{{ .Values.priorityClassName }}" - {{- end }} serviceAccountName: {{ include "minio.serviceAccountName" . | quote }} {{- if and .Values.securityContext.enabled .Values.persistence.enabled }} securityContext: diff --git a/test/minio/8.0.5/values.yaml b/test/minio/8.0.5/values.yaml index 297345fb9b9..331a0889494 100644 --- a/test/minio/8.0.5/values.yaml +++ b/test/minio/8.0.5/values.yaml @@ -43,11 +43,6 @@ DeploymentUpdate: StatefulSetUpdate: updateStrategy: RollingUpdate -## Pod priority settings -## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/ -## -priorityClassName: "" - ## Set default accesskey, secretkey, Minio config file path, volume mount path and ## number of nodes (only used for Minio distributed mode) ## AccessKey and secretKey is generated when not set