[bitnami/mongodb-sharded] Fix issue when setting a custom service name (#6829)

* [bitnami/mongodb-sharded] Fix issue when setting a custom service name

* [bitnami/mongodb-sharded] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
Carlos Rodríguez Hernández
2021-07-07 23:39:35 +02:00
committed by GitHub
co-authored by Bitnami Containers
parent 313588e6ad
commit ef3e26bf76
4 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
version: 1.6.1
digest: sha256:a5d7f7f9655fe533e46082b3a509cdc21c9bc267fbe24d8484a5e70fe09e6aef
generated: "2021-06-20T06:58:35.931587698Z"
version: 1.7.0
digest: sha256:6786bc7fdfc6e4038fd28819c2b07339f232282dbaeab21de8064aaa6814a8d1
generated: "2021-07-07T15:32:21.159182482Z"
+1 -1
View File
@@ -26,4 +26,4 @@ name: mongodb-sharded
sources:
- https://github.com/bitnami/bitnami-docker-mongodb-sharded
- https://mongodb.org
version: 3.7.0
version: 3.7.1
@@ -54,7 +54,7 @@ spec:
nodeSelector: {{- include "common.tplvalues.render" (dict "value" $.Values.shardsvr.dataNode.nodeSelector "context" (set $ "dataNodeLoopId" $i)) | nindent 8 }}
{{- end }}
{{- if $.Values.shardsvr.dataNode.tolerations }}
tolerations: {{- include "common.tplvalues.render" (dict "value" $.Values.shardsvr.dataNode.tolerations "context" (set $ "dataNodeLoopId" $i)) | nindent 8 }}
tolerations: {{- include "common.tplvalues.render" (dict "value" $.Values.shardsvr.dataNode.tolerations "context" (set $ "dataNodeLoopId" $i)) | nindent 8 }}
{{- end }}
serviceAccountName: {{ include "mongodb-sharded.serviceAccountName" (dict "value" $.Values.shardsvr.dataNode.serviceAccount "context" $) }}
{{- if $.Values.shardsvr.dataNode.priorityClassName }}
@@ -118,7 +118,7 @@ spec:
fieldRef:
fieldPath: metadata.name
- name: MONGODB_MONGOS_HOST
value: {{ include "common.names.fullname" $ }}
value: {{ include "mongodb-sharded.serviceName" $ }}
- name: MONGODB_INITIAL_PRIMARY_HOST
value: {{ printf "%s-shard%d-data-0.%s-headless.%s.svc.%s" (include "common.names.fullname" $ ) $i (include "common.names.fullname" $ ) $.Release.Namespace $.Values.clusterDomain }}
- name: MONGODB_REPLICA_SET_NAME
+3 -3
View File
@@ -14,7 +14,7 @@
image:
registry: docker.io
repository: bitnami/mongodb-sharded
tag: 4.4.6-debian-10-r36
tag: 4.4.6-debian-10-r40
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -956,7 +956,7 @@ volumePermissions:
image:
registry: docker.io
repository: bitnami/bitnami-shell
tag: 10-debian-10-r112
tag: 10-debian-10-r126
pullPolicy: Always
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
@@ -1061,7 +1061,7 @@ metrics:
image:
registry: docker.io
repository: bitnami/mongodb-exporter
tag: 0.11.2-debian-10-r197
tag: 0.11.2-debian-10-r212
pullPolicy: Always
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.