[stable/oauth2-proxy] Add support for priorityClasses (#6586)

- add support for priorityClasses
This commit is contained in:
Ryan Luckie
2018-07-15 09:39:55 -07:00
committed by k8s-ci-robot
parent 6f2d43ae4a
commit 79d96b9cf8
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: oauth2-proxy
version: 0.4.1
version: 0.5.0
apiVersion: v1
appVersion: 2.2
home: http://www.videntity.com/
+1
View File
@@ -56,6 +56,7 @@ Parameter | Description | Default
`podLabels` | additional labesl to add to each pod | `{}`
`replicaCount` | desired number of pods | `1`
`resources` | pod resource requests & limits | `{}`
`priorityClassName` | priorityClassName | `nil`
`service.port` | port for the service | `80`
`service.type` | type of service | `ClusterIP`
`tolerations` | List of node taints to tolerate | `[]`
@@ -26,6 +26,9 @@ spec:
{{ toYaml .Values.podLabels | indent 8 }}
{{- end }}
spec:
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
+2
View File
@@ -58,6 +58,8 @@ resources: {}
# cpu: 100m
# memory: 300Mi
priorityClassName: ""
# Affinity for pod assignment
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
# affinity: {}