diff --git a/stable/oauth2-proxy/Chart.yaml b/stable/oauth2-proxy/Chart.yaml index 23554f1135..535035d0b3 100644 --- a/stable/oauth2-proxy/Chart.yaml +++ b/stable/oauth2-proxy/Chart.yaml @@ -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/ diff --git a/stable/oauth2-proxy/README.md b/stable/oauth2-proxy/README.md index c304d7a8cf..889738caf9 100644 --- a/stable/oauth2-proxy/README.md +++ b/stable/oauth2-proxy/README.md @@ -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 | `[]` diff --git a/stable/oauth2-proxy/templates/deployment.yaml b/stable/oauth2-proxy/templates/deployment.yaml index 1702bfbffa..4d8c74ef0f 100644 --- a/stable/oauth2-proxy/templates/deployment.yaml +++ b/stable/oauth2-proxy/templates/deployment.yaml @@ -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 }}" diff --git a/stable/oauth2-proxy/values.yaml b/stable/oauth2-proxy/values.yaml index fc499c8878..c84af68bc2 100644 --- a/stable/oauth2-proxy/values.yaml +++ b/stable/oauth2-proxy/values.yaml @@ -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: {}