Browse Source

Merge pull request #338 from kolorful/main

Allow setting priorityClassName
paul-the-alien[bot] 4 years ago
parent
commit
9c28ed0aae

+ 1 - 0
deploy/charts/external-secrets/README.md

@@ -49,6 +49,7 @@ The command removes all the Kubernetes components associated with the chart and
 | podAnnotations | object | `{}` |  |
 | podAnnotations | object | `{}` |  |
 | podLabels | object | `{}` |  |
 | podLabels | object | `{}` |  |
 | podSecurityContext | object | `{}` |  |
 | podSecurityContext | object | `{}` |  |
+| priorityClassName | string | `""` | Pod priority class name. |
 | prometheus.enabled | bool | `false` | Specifies whether to expose Service resource for collecting Prometheus metrics |
 | prometheus.enabled | bool | `false` | Specifies whether to expose Service resource for collecting Prometheus metrics |
 | prometheus.service.port | int | `8080` |  |
 | prometheus.service.port | int | `8080` |  |
 | rbac.create | bool | `true` | Specifies whether role and rolebinding resources should be created. |
 | rbac.create | bool | `true` | Specifies whether role and rolebinding resources should be created. |

+ 3 - 0
deploy/charts/external-secrets/templates/deployment.yaml

@@ -75,3 +75,6 @@ spec:
       tolerations:
       tolerations:
         {{- toYaml . | nindent 8 }}
         {{- toYaml . | nindent 8 }}
       {{- end }}
       {{- end }}
+      {{- if .Values.priorityClassName }}
+      priorityClassName: {{ .Values.priorityClassName }}
+      {{- end }}

+ 3 - 0
deploy/charts/external-secrets/values.yaml

@@ -66,3 +66,6 @@ nodeSelector: {}
 tolerations: []
 tolerations: []
 
 
 affinity: {}
 affinity: {}
+
+# -- Pod priority class name.
+priorityClassName: ""