Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/oauth2-proxy] Add support for priorityClasses (#6586)
Browse files Browse the repository at this point in the history
- add support for priorityClasses
  • Loading branch information
rtluckie authored and k8s-ci-robot committed Jul 15, 2018
1 parent 6f2d43a commit 79d96b9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/oauth2-proxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
1 change: 1 addition & 0 deletions stable/oauth2-proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | `[]`
Expand Down
3 changes: 3 additions & 0 deletions stable/oauth2-proxy/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down
2 changes: 2 additions & 0 deletions stable/oauth2-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down

0 comments on commit 79d96b9

Please sign in to comment.