Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable/goldilocks] Add pod priority class for goldilocks #1543

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stable/goldilocks/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions stable/goldilocks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
5 changes: 5 additions & 0 deletions stable/goldilocks/templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

{{- if .Values.controller.enabled }}
apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions stable/goldilocks/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 `/`
Expand Down