diff --git a/incubator/kube-downscaler/Chart.yaml b/incubator/kube-downscaler/Chart.yaml index ec132d00ac..b196d98f78 100644 --- a/incubator/kube-downscaler/Chart.yaml +++ b/incubator/kube-downscaler/Chart.yaml @@ -1,6 +1,6 @@ name: kube-downscaler apiVersion: v1 -version: 0.5.0 +version: 0.6.0 appVersion: 20.5.0 description: A Helm chart for kube-downscaler home: https://github.com/hjacobs/kube-downscaler diff --git a/incubator/kube-downscaler/README.md b/incubator/kube-downscaler/README.md index e1408e39af..76bf1460ab 100644 --- a/incubator/kube-downscaler/README.md +++ b/incubator/kube-downscaler/README.md @@ -65,6 +65,7 @@ The following tables lists the configurable parameters of the kube-downscaler ch | `excludedDeployments` | Deployments to exclude from the downscaler | `[]` | | `excludedNamespaces` | Namespaces to exclude from the downscaler | `[]` | | `extraArgs` | Add extra args to docker command | `[]` | +| `priorityClassName` | Specifies the pod's priority class name | `''` | > **Tip**: You can use the default [values.yaml](values.yaml) diff --git a/incubator/kube-downscaler/templates/deployment.yaml b/incubator/kube-downscaler/templates/deployment.yaml index be7daa3fc9..36561086a6 100644 --- a/incubator/kube-downscaler/templates/deployment.yaml +++ b/incubator/kube-downscaler/templates/deployment.yaml @@ -69,3 +69,6 @@ spec: {{ toYaml . | indent 8 }} {{- end }} serviceAccountName: {{ if .Values.rbac.create }}{{ template "kube-downscaler.fullname" . }}{{ else }}"{{ .Values.rbac.serviceAccountName }}"{{ end }} + {{- if .Values.priorityClassName }} + priorityClassName: "{{ .Values.priorityClassName }}" + {{- end }} diff --git a/incubator/kube-downscaler/values.yaml b/incubator/kube-downscaler/values.yaml index 9894622317..1422992be1 100644 --- a/incubator/kube-downscaler/values.yaml +++ b/incubator/kube-downscaler/values.yaml @@ -36,7 +36,7 @@ rbac: image: repository: hjacobs/kube-downscaler - tag: 20.5.0 + tag: 20.10.0 pullPolicy: IfNotPresent resources: @@ -64,3 +64,5 @@ affinity: {} podLabels: {} podAnnotations: {} + +priorityClassName: ""