mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Use defaults in values.yaml (stable/mongodb) (#5340)
* Use defaults in values.yaml (stable/mongodb) Also made assignments in `_helpers.tpl` more uniform * Bump version to 2.0.3
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: mongodb
|
||||
version: 2.0.2
|
||||
version: 2.0.3
|
||||
appVersion: 3.7.3
|
||||
description: NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications.
|
||||
keywords:
|
||||
|
||||
@@ -19,7 +19,8 @@ We truncate at 63 chars because some Kubernetes name fields are limited to this
|
||||
Return the proper image name
|
||||
*/}}
|
||||
{{- define "mongodb.image" -}}
|
||||
{{- $registryName := default .Values.image.registry "docker.io" -}}
|
||||
{{- $tag := .Values.image.tag | default "latest" -}}
|
||||
{{- printf "%s/%s:%s" $registryName .Values.image.repository $tag -}}
|
||||
{{- $registryName := .Values.image.registry -}}
|
||||
{{- $repositoryName := .Values.image.repository -}}
|
||||
{{- $tag := .Values.image.tag -}}
|
||||
{{- printf "%s/%s:%s" $registryName $repositoryName $tag -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user