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: 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 -}}