Skip to content

Commit 8284594

Browse files
authored
Merge pull request #127 from blend/chart-priority-class
Support custom `priorityClassName` in the helm chart
2 parents d186f0a + 1120f23 commit 8284594

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
apiVersion: v2
22
name: cluster-proportional-autoscaler
3-
version: 1.0.0
4-
appVersion: 1.8.4
3+
version: 1.0.1
4+
appVersion: 1.8.6
55
description: This chart is used to deploy an instance of the cluster-proportional-autoscaler.
66
maintainers:
77
- name: krmichel
88
url: https://github.com/krmichel
99
- name: d-mcd
10-
url: https://github.com/d-mcd
10+
url: https://github.com/d-mcd

charts/cluster-proportional-autoscaler/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,6 @@ spec:
8989
tolerations:
9090
{{- toYaml . | nindent 8 }}
9191
{{- end }}
92+
{{- with .Values.priorityClassName }}
93+
priorityClassName: {{ . | quote }}
94+
{{- end }}

charts/cluster-proportional-autoscaler/values.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ options:
3737
maxSyncFailures:
3838
namespace:
3939
nodeLabels: {}
40-
# label1: value1
41-
# label2: value2
40+
# label1: value1
41+
# label2: value2
4242
pollPeriodSeconds:
4343
stdErrThreshold:
4444
target:
4545
vmodule:
4646
podAnnotations: {}
4747
podSecurityContext: {}
48-
# fsGroup: 2000
48+
# fsGroup: 2000
4949
replicaCount: 1
5050
resources: {}
5151
# We usually recommend not to specify default resources and to leave this as a conscious
@@ -57,14 +57,14 @@ resources: {}
5757
# memory: 128Mi
5858
# requests:
5959
# cpu: 100m
60-
# memory: 128Mi
60+
# memory: 128Mi
6161
securityContext: {}
6262
# capabilities:
6363
# drop:
6464
# - ALL
6565
# readOnlyRootFilesystem: true
6666
# runAsNonRoot: true
67-
# runAsUser: 1000
67+
# runAsUser: 1000
6868
serviceAccount:
6969
create: true
7070
annotations: {}
@@ -73,3 +73,4 @@ serviceAccount:
7373
# If set and create is false, no service account will be created and the expectation is that the provided service account already exists or it will use the "default" service account
7474
name:
7575
tolerations: []
76+
priorityClassName: ""

0 commit comments

Comments
 (0)