diff --git a/stable/goldilocks/Chart.yaml b/stable/goldilocks/Chart.yaml index c446ef309..da97cee13 100644 --- a/stable/goldilocks/Chart.yaml +++ b/stable/goldilocks/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 appVersion: "v4.13.0" -version: 9.0.1 +version: 9.1.0 kubeVersion: ">= 1.22.0-0" description: | A Helm chart for running Fairwinds Goldilocks. See https://github.com/FairwindsOps/goldilocks diff --git a/stable/goldilocks/README.md b/stable/goldilocks/README.md index 595682283..126328d41 100644 --- a/stable/goldilocks/README.md +++ b/stable/goldilocks/README.md @@ -92,6 +92,7 @@ This will completely remove the VPA and then re-install it using the new method. | controller.deployment.annotations | object | `{}` | Extra annotations for the controller deployment | | controller.deployment.additionalLabels | object | `{}` | Extra labels for the controller deployment | | controller.deployment.podAnnotations | object | `{}` | Extra annotations for the controller pod | +| controller.deployment.priorityClassName | object | `{}` | Extra annotations for the controller pod | | dashboard.basePath | string | `nil` | Path on which the dashboard is served. Defaults to `/` | | dashboard.enabled | bool | `true` | If true, the dashboard component will be installed | | dashboard.revisionHistoryLimit | int | `10` | Number of old replicasets to retain, default is 10, 0 will garbage-collect old replicasets | diff --git a/stable/goldilocks/templates/controller-deployment.yaml b/stable/goldilocks/templates/controller-deployment.yaml index c0a1fddf6..5dfdf9296 100644 --- a/stable/goldilocks/templates/controller-deployment.yaml +++ b/stable/goldilocks/templates/controller-deployment.yaml @@ -1,3 +1,4 @@ + {{- if .Values.controller.enabled }} apiVersion: apps/v1 kind: Deployment @@ -43,6 +44,10 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.controller.priorityClassName }} + priorityClassName: + {{- toYaml . | nindent 8 }} + {{- end }} serviceAccountName: {{ template "controller.serviceAccountName" . }} securityContext: {{- toYaml .Values.controller.podSecurityContext | nindent 8 }} diff --git a/stable/goldilocks/values.yaml b/stable/goldilocks/values.yaml index 69f8e32d8..c93c3162d 100644 --- a/stable/goldilocks/values.yaml +++ b/stable/goldilocks/values.yaml @@ -90,6 +90,8 @@ controller: # controller.deployment.podAnnotations -- Extra annotations for the controller pod podAnnotations: {} + # controller.deployment.priorityClassName -- Extra annotations for the controller pod + priorityClassName: {} dashboard: # dashboard.basePath -- Path on which the dashboard is served. Defaults to `/`