mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-23 12:06:20 +10:00
[bitnami/mongodb] Register targetPod in global context (#4642)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user