From b0061e9c20ec4097abb3d08e50c990941bfe001d Mon Sep 17 00:00:00 2001 From: Juan Ariza Toledano Date: Thu, 28 Jun 2018 15:45:22 +0200 Subject: [PATCH] Adding the possibility to use registy on Docker image (#6372) --- stable/kubewatch/Chart.yaml | 2 +- stable/kubewatch/README.md | 1 + stable/kubewatch/templates/deployment.yaml | 2 +- stable/kubewatch/values.yaml | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/stable/kubewatch/Chart.yaml b/stable/kubewatch/Chart.yaml index 2e4c70a582..d3bc42193b 100644 --- a/stable/kubewatch/Chart.yaml +++ b/stable/kubewatch/Chart.yaml @@ -1,5 +1,5 @@ name: kubewatch -version: 0.4.0 +version: 0.4.1 apiVersion: v1 appVersion: v0.0.4 home: https://github.com/bitnami-labs/kubewatch diff --git a/stable/kubewatch/README.md b/stable/kubewatch/README.md index 6f78f9181d..97900db148 100644 --- a/stable/kubewatch/README.md +++ b/stable/kubewatch/README.md @@ -40,6 +40,7 @@ The following table lists the configurable parameters of the kubewatch chart and | Parameter | Description | Default | | ---------------------------------------- | ------------------------------------ | --------------------------------- | | `affinity` | node/pod affinities | None | +| `image.registry` | Image registry | `docker.io` | | `image.repository` | Image repository | `bitnami/kubewatch` | | `image.tag` | Image tag | `{VERSION}` | | `image.pullPolicy` | Image pull policy | `Always` | diff --git a/stable/kubewatch/templates/deployment.yaml b/stable/kubewatch/templates/deployment.yaml index cc8a5e5756..35db9cc7f5 100644 --- a/stable/kubewatch/templates/deployment.yaml +++ b/stable/kubewatch/templates/deployment.yaml @@ -29,7 +29,7 @@ spec: spec: containers: - name: {{ template "kubewatch.name" . }} - image: {{ .Values.image.repository }}:{{ .Values.image.tag }} + image: {{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }} imagePullPolicy: {{ .Values.image.pullPolicy }} volumeMounts: - name: {{ template "kubewatch.name" . }}-config-map diff --git a/stable/kubewatch/values.yaml b/stable/kubewatch/values.yaml index b30eb354ef..2b0de1953f 100644 --- a/stable/kubewatch/values.yaml +++ b/stable/kubewatch/values.yaml @@ -31,6 +31,7 @@ resourcesToWatch: persistentvolume: false image: + registry: "docker.io" repository: "bitnami/kubewatch" tag: "0.0.4" pullPolicy: "Always"