Images: Update values to allow simple parse of images being used

This PS updates the values file layout for images to allow simple
parsing of the images in use by charts, allowing them to be queried
and modified much more simply. By moving the image tags to a 'tags'
key, we can extend the options used simply to accomodate extra
options simply (eg prefixing the tag for use with an internal
registry) or pre-pulling the images to reduce chart deploy failure.

Change-Id: I9ec1dbb00d997ab6cb021bf0b698f7aae740e95d
This commit is contained in:
intlabs
2017-10-23 08:59:08 -05:00
parent 3d75724318
commit fe6107cf76
204 changed files with 427 additions and 400 deletions

View File

@@ -34,7 +34,7 @@ spec:
{{ .Values.labels.node_selector_key }}: {{ .Values.labels.node_selector_value }}
containers:
- name: postgresql
image: {{ .Values.images.postgresql }}
image: {{ .Values.images.tags.postgresql }}
imagePullPolicy: {{ .Values.images.pull_policy }}
ports:
- containerPort: {{ tuple "postgresql" "internal" "postgresql" . | include "helm-toolkit.endpoints.endpoint_port_lookup" }}

View File

@@ -38,7 +38,8 @@ pod:
# using dockerhub postgresql: https://hub.docker.com/r/library/postgres/tags/
images:
postgresql: "docker.io/postgres:9.5"
tags:
postgresql: "docker.io/postgres:9.5"
pull_policy: IfNotPresent
storage: