mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/oauth2-proxy] Add support for priorityClasses (#6586)
- add support for priorityClasses
This commit is contained in:
committed by
k8s-ci-robot
parent
6f2d43ae4a
commit
79d96b9cf8
@@ -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/
|
||||
|
||||
@@ -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 }}"
|
||||
|
||||
@@ -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: {}
|
||||
|
||||
Reference in New Issue
Block a user