[bitnami/mongodb] Register targetPod in global context (#4642)

This commit is contained in:
lerminou
2020-12-08 13:47:14 +01:00
committed by GitHub
parent 88da3be989
commit 52229733f8
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -26,4 +26,4 @@ name: mongodb
sources:
- https://github.com/bitnami/bitnami-docker-mongodb
- https://mongodb.org
version: 10.1.3
version: 10.1.4
@@ -5,6 +5,7 @@
{{- range $i, $e := until $replicaCount }}
{{- $targetPod := printf "%s-%d" (printf "%s" $fullName) $i }}
{{- $_ := set $ "targetPod" $targetPod }}
---
apiVersion: v1
kind: Service