Ver código fonte

Remove priorityClassName setting

Waqar Ahmed 5 anos atrás
pai
commit
17d83f6bd4

+ 0 - 1
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`                           |

+ 0 - 3
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:

+ 0 - 3
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:

+ 0 - 5
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