Apply some suggestions

This commit is contained in:
Carlos Rodriguez Hernandez
2018-10-15 09:49:40 +00:00
parent be6cbedd27
commit 24706a6163
63 changed files with 96 additions and 90 deletions

View File

@@ -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}` |

View File

@@ -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 -}}

View File

@@ -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/
##

View File

@@ -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/