Skip to content

Commit

Permalink
Fix apiVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Mar 26, 2024
1 parent feac78a commit 03b5a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/pulsar/templates/broker-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 03b5a83

Please sign in to comment.