mirror of
https://github.com/bitnami/charts.git
synced 2026-04-02 07:17:26 +08:00
[bitnami/kafka] Register targetPod in global context (#24391)
Signed-off-by: Andrés Bono <andresbono@vmware.com>
This commit is contained in:
@@ -8,6 +8,7 @@ SPDX-License-Identifier: APACHE-2.0
|
||||
{{- $replicaCount := .Values.broker.replicaCount | int }}
|
||||
{{- range $i := until $replicaCount }}
|
||||
{{- $targetPod := printf "%s-broker-%d" (printf "%s" $fullname) $i }}
|
||||
{{- $_ := set $ "targetPod" $targetPod }}
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
|
||||
Reference in New Issue
Block a user