From 58bfa3ecbcea6dd33de39b365a978a0d6ec895d4 Mon Sep 17 00:00:00 2001 From: Kyle Schochenmaier Date: Mon, 26 Sep 2022 09:13:49 -0500 Subject: [PATCH 1/2] fix a typo in the helper template for pdb --- charts/consul/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/consul/templates/_helpers.tpl b/charts/consul/templates/_helpers.tpl index fceb75ce5a..02b2adb39e 100644 --- a/charts/consul/templates/_helpers.tpl +++ b/charts/consul/templates/_helpers.tpl @@ -200,7 +200,7 @@ Add a special case for replicas=1, where it should default to 0 as well. {{- if eq (int .Values.connectInject.replicas) 1 -}} {{ 0 }} {{- else if .Values.connectInject.disruptionBudget.maxUnavailable -}} -{{ .Values.server.disruptionBudget.maxUnavailable -}} +{{ .Values.connectInject.disruptionBudget.maxUnavailable -}} {{- else -}} {{- if eq (int .Values.connectInject.replicas) 3 -}} {{- 1 -}} From 5c332741e509e97b6fdfd8b21565c4fae8bcac6f Mon Sep 17 00:00:00 2001 From: Kyle Schochenmaier Date: Mon, 26 Sep 2022 09:36:00 -0500 Subject: [PATCH 2/2] add changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e75cf6fc62..6bb0faae72 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ FEATURES: BUG FIXES: * Control plane * Use global ACL auth method to provision ACL tokens for API Gateway in secondary datacenter [[GH-1481](https://github.com/hashicorp/consul-k8s/pull/1481)] +* Helm: + * Fixes a typo in the templating of `global.connectInject.disruptionBudget.maxUnavailable`. [[GH-1530](https://github.com/hashicorp/consul-k8s/pull/1530)]. IMPROVEMENTS: * Helm: