Skip to content

Commit 21095cb

Browse files
Viktorsubotashivamkm07mukundansundardaixiang0dapr-bot
authored
Issues 7103 add priority class to helm (dapr#7395)
* Cascade terminate/Purge Workflow Support (dapr#7340) * Updating protos Signed-off-by: Shivam Kumar <[email protected]> * enable recursive terminate/purge Signed-off-by: Shivam Kumar <[email protected]> * Updating dtf-go Signed-off-by: Shivam Kumar <[email protected]> * updating contrib Signed-off-by: Shivam Kumar <[email protected]> * Correct proto generated files Signed-off-by: Shivam Kumar <[email protected]> * update comment Signed-off-by: Shivam Kumar <[email protected]> * implementing getOrchestrationRuntimeState Signed-off-by: Shivam Kumar <[email protected]> * Adding unit tests Signed-off-by: Shivam Kumar <[email protected]> * make modtidy-all Signed-off-by: Shivam Kumar <[email protected]> * Adding recursive option in query parameter Signed-off-by: Shivam Kumar <[email protected]> * Adding integration test for workflow Signed-off-by: Shivam Kumar <[email protected]> * fix bug in Creating sub-orchestrations Signed-off-by: Shivam Kumar <[email protected]> * Setting recursive/terminate purge to default and adding tests for same Signed-off-by: Shivam Kumar <[email protected]> * linter fixes Signed-off-by: Shivam Kumar <[email protected]> * Removing fix from this PR Signed-off-by: Shivam Kumar <[email protected]> * renaming to Signed-off-by: Shivam Kumar <[email protected]> * linter fixes Signed-off-by: Shivam Kumar <[email protected]> --------- Signed-off-by: Shivam Kumar <[email protected]> Co-authored-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Loong Dai <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: Viktor Subota <[email protected]> * Add priorityClassName parameter to Helm chart Signed-off-by: Viktor Subota <[email protected]> * Add priorityClassName to README doc Signed-off-by: Viktor Subota <[email protected]> --------- Signed-off-by: Shivam Kumar <[email protected]> Signed-off-by: Viktor Subota <[email protected]> Co-authored-by: Shivam Kumar <[email protected]> Co-authored-by: Mukundan Sundararajan <[email protected]> Co-authored-by: Loong Dai <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Co-authored-by: Viktor Subota <[email protected]>
1 parent 8c5551d commit 21095cb

File tree

6 files changed

+19
-1
lines changed

6 files changed

+19
-1
lines changed

charts/dapr/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ The Helm chart has the follow configuration options that can be supplied:
114114
| `global.reminders.serviceName` | Name of the service that provides reminders functionality. If empty (the default), uses the built-in reminders capabilities in Dapr sidecars. | |
115115
| `global.seccompProfile` | SeccompProfile for Dapr control plane services | `""` |
116116
| `global.rbac.namespaced` | Removes cluster wide permissions where applicable | `false` |
117-
| `global.argoRolloutServiceReconciler.enabled` | Enable the service reconciler for Dapr-enabled Argo Rollouts | `false` |
117+
| `global.argoRolloutServiceReconciler.enabled` | Enable the service reconciler for Dapr-enabled Argo Rollouts | `false` |
118+
| `global.priorityClassName` | Adds `priorityClassName` to Dapr pods | `""` |
118119

119120
### Dapr Operator options:
120121
| Parameter | Description | Default |

charts/dapr/charts/dapr_operator/templates/dapr_operator_deployment.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,7 @@ spec:
233233
tolerations:
234234
{{ toYaml .Values.global.tolerations | indent 8 }}
235235
{{- end }}
236+
{{- if .Values.global.priorityClassName }}
237+
priorityClassName:
238+
{{ toYaml .Values.global.priorityClassName | indent 8 }}
239+
{{- end }}

charts/dapr/charts/dapr_placement/templates/dapr_placement_statefulset.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -269,4 +269,8 @@ spec:
269269
{{- end }}
270270
{{- end }}
271271
{{- end }}
272+
{{- if .Values.global.priorityClassName }}
273+
priorityClassName:
274+
{{ toYaml .Values.global.priorityClassName | indent 8 }}
275+
{{- end }}
272276
{{- end }}

charts/dapr/charts/dapr_sentry/templates/dapr_sentry_deployment.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -232,3 +232,7 @@ spec:
232232
tolerations:
233233
{{ toYaml .Values.global.tolerations | indent 8 }}
234234
{{- end }}
235+
{{- if .Values.global.priorityClassName }}
236+
priorityClassName:
237+
{{ toYaml .Values.global.priorityClassName | indent 8 }}
238+
{{- end }}

charts/dapr/charts/dapr_sidecar_injector/templates/dapr_sidecar_injector_deployment.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -271,4 +271,8 @@ spec:
271271
tolerations:
272272
{{ toYaml .Values.global.tolerations | indent 8 }}
273273
{{- end }}
274+
{{- if .Values.global.priorityClassName }}
275+
priorityClassName:
276+
{{ toYaml .Values.global.priorityClassName | indent 8 }}
277+
{{- end }}
274278
{{- end }}

charts/dapr/values.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ global:
2121
# - pullSecret2
2222
imagePullSecrets: ""
2323

24+
priorityClassName: ""
2425
nodeSelector: {}
2526
tolerations: []
2627
rbac:

0 commit comments

Comments
 (0)