From 03b5a83d9f1cb0276bd4a2c9c96e0b386f381a76 Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Tue, 26 Mar 2024 16:58:24 +0200 Subject: [PATCH] Fix apiVersion --- charts/pulsar/templates/broker-statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/pulsar/templates/broker-statefulset.yaml b/charts/pulsar/templates/broker-statefulset.yaml index 0be2cd54..34938cfa 100644 --- a/charts/pulsar/templates/broker-statefulset.yaml +++ b/charts/pulsar/templates/broker-statefulset.yaml @@ -44,7 +44,7 @@ spec: for the function worker to connect to. Since podManagementPolicy is immutable, this rule is only applied when the broker is first installed. */}} - {{- $stsObj := lookup "v1" "StatefulSet" $namespace $stsName }} + {{- $stsObj := lookup "apps/v1" "StatefulSet" $namespace $stsName }} {{- if $stsObj }} podManagementPolicy: {{ $stsObj.spec.podManagementPolicy }} {{- else }}