From 66e59adbcae9e1ce7976d2a281f7583e3529f9b8 Mon Sep 17 00:00:00 2001 From: Nelson <93178586+njohnstone2@users.noreply.github.com> Date: Tue, 1 Aug 2023 21:13:02 +1000 Subject: [PATCH] fix bug introduced by #2655 (#2711) # What this PR does fixes a bug introduced in #2655 where the `topologySpreadConstraints` helm values are not scoped correctly on the engine template. ## Which issue(s) this PR fixes closes #2655 ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [ ] Documentation added (or `pr:no public docs` PR label added if not required) - [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required) Co-authored-by: Joey Orlando --- helm/oncall/templates/engine/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/oncall/templates/engine/deployment.yaml b/helm/oncall/templates/engine/deployment.yaml index e69dd2cd..cedf3aab 100644 --- a/helm/oncall/templates/engine/deployment.yaml +++ b/helm/oncall/templates/engine/deployment.yaml @@ -96,7 +96,7 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} - {{- if .Values.engine.topologySpreadConstraints }} + {{- with .Values.engine.topologySpreadConstraints }} topologySpreadConstraints: {{- toYaml . | nindent 8 }} {{- end }}