mirror of
https://github.com/bitnami/charts.git
synced 2026-03-29 16:27:11 +08:00
Apply some suggestions
This commit is contained in:
@@ -51,7 +51,7 @@ The following tables lists the configurable parameters of the Consul chart and t
|
||||
|
||||
| Parameter | Description | Default |
|
||||
| ------------------------------------ | ------------------------------------------------------ | ---------------------------------------------------------- |
|
||||
| `global.registry` | Global chart image registry | `nil` |
|
||||
| `global.imageRegistry` | Global Docker image registry | `nil` |
|
||||
| `image.registry` | Consul image registry | `docker.io` |
|
||||
| `image.repository` | Consul image name | `bitnami/consul` |
|
||||
| `image.tag` | Consul image tag | `{VERSION}` |
|
||||
|
||||
@@ -29,7 +29,7 @@ Return the proper Consul image name
|
||||
{{- $registryName := .Values.image.registry -}}
|
||||
{{- if .Values.global }}
|
||||
{{- if .Values.global.regristry }}
|
||||
{{- $registryName := .Values.global.registry -}}
|
||||
{{- $registryName := .Values.global.imageRegistry -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- $repositoryName := .Values.image.repository -}}
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
## Global Docker image registry
|
||||
## Please, note that this will override the image registry for all the images, including dependencies, configured to use the global value
|
||||
##
|
||||
# global:
|
||||
# imageRegistry:
|
||||
|
||||
## Bitnami Consul image version
|
||||
## ref: https://hub.docker.com/r/bitnami/consul/tags/
|
||||
##
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
## Global chart image registry
|
||||
## Global Docker image registry
|
||||
## Please, note that this will override the image registry for all the images, including dependencies, configured to use the global value
|
||||
##
|
||||
# global:
|
||||
# registry:
|
||||
# imageRegistry:
|
||||
|
||||
## Bitnami Consul image version
|
||||
## ref: https://hub.docker.com/r/bitnami/consul/tags/
|
||||
|
||||
Reference in New Issue
Block a user