Skip to content

Commit e53e5ea

Browse files
neerajmangaldgrove-oss
authored andcommitted
Add Support to store Openwhisk Component Images in Hosted Docker Registry. (apache#447)
1 parent 34caee5 commit e53e5ea

23 files changed

+156
-39
lines changed

docs/private-docker-registry.md

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<!--
2+
#
3+
# Licensed to the Apache Software Foundation (ASF) under one or more
4+
# contributor license agreements. See the NOTICE file distributed with
5+
# this work for additional information regarding copyright ownership.
6+
# The ASF licenses this file to You under the Apache License, Version 2.0
7+
# (the "License"); you may not use this file except in compliance with
8+
# the License. You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#
18+
-->
19+
20+
# Using private docker registry
21+
22+
By default, helm charts currently use docker hub to download images to deploy OpenWhisk components on Kubernetes. If your Kubernetes provider does not allow public docker registry, you can use your hosted docker image registry to deploy OpenWhisk on Kubernetes.
23+
24+
- All openwhisk images should be uploaded to your hosted docker registry server.
25+
- openwhisk/apigateway
26+
- apache/couchdb
27+
- openwhisk/controller
28+
- openwhisk/invoker
29+
- wurstmeister/kafka
30+
- openwhisk/ow-utils
31+
- zookeeper
32+
- nginx
33+
- redis
34+
- busybox
35+
- openwhisk/alarmprovider
36+
- openwhisk/kafkaprovider
37+
- openwhisk/cloudantprovider
38+
39+
- Add details of your docker registry information in mycluster.yml.
40+
41+
```yaml
42+
docker:
43+
registry:
44+
name: "registry-name/"
45+
username: username
46+
password: "Passowrd"
47+
```
48+
49+
> - enabling registry information will cause all your images to be pulled from private docker registry only.
50+
> - Append / in your docker registry name.
51+
52+
Enabling *registry.name* will create a docker-registry secret as *{ReleaseName}-private-registry.auth* in Kubernetes which will be used in pod/jobs as *imagePullSecrets*.
53+
54+
```yaml
55+
# If ReleaseName is owdev and namespace is openwhisk
56+
# kubectl get secrets owdev-private-registry.auth -o yaml
57+
58+
apiVersion: v1
59+
data:
60+
.dockerconfigjson: <Base64 encoded>
61+
kind: Secret
62+
metadata:
63+
annotations:
64+
kubectl.kubernetes.io/last-applied-configuration: |
65+
{"apiVersion":"v1","data":{".dockerconfigjson":"Base64 Encoded"},"kind":"Secret","metadata":{"annotations":{},"labels":{"app":"owdev-openwhisk","chart":"openwhisk-0.1.4","heritage":"Tiller","release":"owdev"},"name":"owdev-private-registry.auth","namespace":"openwhisk"},"type":"kubernetes.io/dockerconfigjson"}
66+
creationTimestamp: "2019-04-04T06:44:43Z"
67+
labels:
68+
app: owdev-openwhisk
69+
chart: openwhisk-0.1.4
70+
heritage: Tiller
71+
release: owdev
72+
name: owdev-private-registry.auth
73+
namespace: openwhisk
74+
resourceVersion: "18273580"
75+
selfLink: /api/v1/namespaces/openwhisk/secrets/owdev-private-registry.auth
76+
uid: 20f03275-56a5-11e9-9164-005056a3e755
77+
type: kubernetes.io/dockerconfigjson
78+
```

helm/openwhisk/templates/_helpers.tpl

+15
Original file line numberDiff line numberDiff line change
@@ -195,3 +195,18 @@ app: {{ template "openwhisk.fullname" . }}
195195
{{- define "openwhisk.tls_secret_name" -}}
196196
{{ .Values.whisk.ingress.tls.secretname | default "ow-ingress-tls-secret" | quote }}
197197
{{- end -}}
198+
199+
{{/* Create imagePullSecrets for private docker-registry*/}}
200+
{{- define "openwhisk.dockerRegistrySecret" -}}
201+
{{- if ne .Values.docker.registry.name "" }}
202+
{{- printf "{\"auths\": {\"%s\": {\"auth\": \"%s\"}}}" .Values.docker.registry.name (printf "%s:%s" .Values.docker.registry.username .Values.docker.registry.password | b64enc) | b64enc }}
203+
{{- end }}
204+
{{- end -}}
205+
206+
{{/* ImagePullSecrets in pods and job*/}}
207+
{{- define "openwhisk.docker.imagePullSecrets" -}}
208+
{{- if ne .Values.docker.registry.name "" }}
209+
imagePullSecrets:
210+
- name: {{ .Release.Name }}-private-registry.auth
211+
{{- end }}
212+
{{- end -}}

helm/openwhisk/templates/_invoker-helpers.tpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434
{{- define "openwhisk.docker_pull_runtimes" -}}
3535
- name: docker-pull-runtimes
36+
image: "{{- .Values.docker.registry.name -}}{{- .Values.utility.imageName -}}:{{- .Values.utility.imageTag -}}"
3637
imagePullPolicy: {{ .Values.utility.imagePullPolicy | quote }}
37-
image: "{{- .Values.utility.imageName -}}:{{- .Values.utility.imageTag -}}"
3838
command: ["/usr/local/bin/ansible-playbook", "/invoker-scripts/playbook.yml"]
3939
volumeMounts:
4040
- name: dockersock

helm/openwhisk/templates/_readiness.tpl

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# if not db.wipeAndInit, the external db must already be ready; so no need for init container
88
{{- else -}}
99
- name: "wait-for-couchdb"
10-
image: "busybox"
10+
image: "{{- .Values.docker.registry.name -}}busybox"
1111
imagePullPolicy: "IfNotPresent"
1212
env:
1313
- name: "READINESS_URL"
@@ -19,7 +19,7 @@
1919
{{/* Init container that waits for kafka to be ready */}}
2020
{{- define "openwhisk.readiness.waitForKafka" -}}
2121
- name: "wait-for-kafka"
22-
image: "busybox"
22+
image: "{{- .Values.docker.registry.name -}}busybox"
2323
imagePullPolicy: "IfNotPresent"
2424
# TODO: I haven't found an easy external test to determine that kafka is up, so as a hack we wait for zookeeper and then sleep for 10 seconds and cross our fingers!
2525
command: ["sh", "-c", 'result=1; until [ $result -eq 0 ]; do OK=$(echo ruok | nc -w 1 {{ include "openwhisk.zookeeper_zero_host" . }} {{ .Values.zookeeper.port }}); if [ "$OK" == "imok" ]; then result=0; echo "zookeeper returned imok!"; else echo waiting for zookeeper to be ready; sleep 1; fi done; echo "Zookeeper is up; will wait for 10 seconds to give kafka time to initialize"; sleep 10;']
@@ -28,15 +28,15 @@
2828
{{/* Init container that waits for zookeeper to be ready */}}
2929
{{- define "openwhisk.readiness.waitForZookeeper" -}}
3030
- name: "wait-for-zookeeper"
31-
image: "busybox"
31+
image: "{{- .Values.docker.registry.name -}}busybox"
3232
imagePullPolicy: "IfNotPresent"
3333
command: ["sh", "-c", 'result=1; until [ $result -eq 0 ]; do OK=$(echo ruok | nc -w 1 {{ include "openwhisk.zookeeper_zero_host" . }} {{ .Values.zookeeper.port }}); if [ "$OK" == "imok" ]; then result=0; echo "zookeeper returned imok!"; else echo waiting for zookeeper to be ready; sleep 1; fi; done; echo "Success: zookeeper is up"']
3434
{{- end -}}
3535

3636
{{/* Init container that waits for controller to be ready */}}
3737
{{- define "openwhisk.readiness.waitForController" -}}
3838
- name: "wait-for-controller"
39-
image: "busybox"
39+
image: "{{- .Values.docker.registry.name -}}busybox"
4040
imagePullPolicy: "IfNotPresent"
4141
env:
4242
- name: "READINESS_URL"
@@ -47,7 +47,7 @@
4747
{{/* Init container that waits for at least 1 healthy invoker */}}
4848
{{- define "openwhisk.readiness.waitForHealthyInvoker" -}}
4949
- name: "wait-for-healthy-invoker"
50-
image: "busybox"
50+
image: "{{- .Values.docker.registry.name -}}busybox"
5151
imagePullPolicy: "IfNotPresent"
5252
env:
5353
- name: "READINESS_URL"

helm/openwhisk/templates/apigateway-pod.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ spec:
2626
{{ include "openwhisk.affinity.core" . | indent 8 }}
2727
{{ include "openwhisk.affinity.selfAntiAffinity" ( printf "%s-apigateway" .Release.Name ) | indent 8 }}
2828
{{- end }}
29-
29+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
3030
containers:
3131
- name: apigateway
3232
imagePullPolicy: {{ .Values.apigw.imagePullPolicy | quote }}
33-
image: "{{- .Values.apigw.imageName -}}:{{- .Values.apigw.imageTag -}}"
33+
image: "{{- .Values.docker.registry.name -}}{{- .Values.apigw.imageName -}}:{{- .Values.apigw.imageTag -}}"
3434
ports:
3535
- name: mgmt
3636
containerPort: {{ .Values.apigw.mgmtPort }}

helm/openwhisk/templates/controller-pod.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ spec:
3434
# The controller must wait for kafka and couchdb to be ready before it starts
3535
{{ include "openwhisk.readiness.waitForKafka" . | indent 6 }}
3636
{{ include "openwhisk.readiness.waitForCouchDB" . | indent 6 }}
37-
37+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
3838
containers:
3939
- name: controller
4040
imagePullPolicy: {{ .Values.controller.imagePullPolicy | quote }}
41-
image: "{{- .Values.controller.imageName -}}:{{- .Values.controller.imageTag -}}"
41+
image: "{{- .Values.docker.registry.name -}}{{- .Values.controller.imageName -}}:{{- .Values.controller.imageTag -}}"
4242
command: ["/bin/bash", "-c", "/init.sh `hostname | cut -d'-' -f3`"]
4343
ports:
4444
- name: controller

helm/openwhisk/templates/couchdb-init-job.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ spec:
2626
- name: whisk-auth
2727
secret:
2828
secretName: {{ .Release.Name }}-whisk.auth
29+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
2930
containers:
3031
- name: init-couchdb
31-
image: "{{- .Values.utility.imageName -}}:{{- .Values.utility.imageTag -}}"
32+
image: "{{- .Values.docker.registry.name -}}{{- .Values.utility.imageName -}}:{{- .Values.utility.imageTag -}}"
3233
imagePullPolicy: {{ .Values.utility.imagePullPolicy | quote }}
3334
command: ["/bin/bash", "-c", "set -e; . /task/initdb.sh"]
3435
volumeMounts:

helm/openwhisk/templates/couchdb-pod.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ spec:
2727
{{ include "openwhisk.affinity.core" . | indent 8 }}
2828
{{ include "openwhisk.affinity.selfAntiAffinity" ( printf "%s-couchdb" .Release.Name ) | indent 8 }}
2929
{{- end }}
30-
30+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
3131
containers:
3232
- name: couchdb
33-
image: "{{- .Values.db.imageName -}}:{{- .Values.db.imageTag -}}"
33+
image: "{{- .Values.docker.registry.name -}}{{- .Values.db.imageName -}}:{{- .Values.db.imageTag -}}"
3434
imagePullPolicy: {{ .Values.db.imagePullPolicy | quote }}
3535
ports:
3636
- name: couchdb

helm/openwhisk/templates/install-packages-job.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ spec:
2424
name: {{ .Release.Name }}-install-packages-cm
2525
initContainers:
2626
{{ include "openwhisk.readiness.waitForHealthyInvoker" . | indent 6 }}
27+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
2728
containers:
2829
- name: install-packages
29-
image: "{{- .Values.utility.imageName -}}:{{- .Values.utility.imageTag -}}"
30+
image: "{{- .Values.docker.registry.name -}}{{- .Values.utility.imageName -}}:{{- .Values.utility.imageTag -}}"
3031
imagePullPolicy: {{ .Values.utility.imagePullPolicy | quote }}
3132
command: ["/bin/bash", "-c", "set -e; . /task/myTask.sh"]
3233
volumeMounts:

helm/openwhisk/templates/invoker-agent-pod.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ spec:
3636
initContainers:
3737
# Pull images for all default runtimes before starting invoker
3838
{{ include "openwhisk.docker_pull_runtimes" . | indent 6 }}
39-
39+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
4040
containers:
4141
- name: invoker-agent
42-
image: "{{- .Values.invoker.containerFactory.kubernetes.agent.imageName -}}:{{- .Values.invoker.containerFactory.kubernetes.agent.imageTag -}}"
42+
image: "{{- .Values.docker.registry.name -}}{{- .Values.invoker.containerFactory.kubernetes.agent.imageName -}}:{{- .Values.invoker.containerFactory.kubernetes.agent.imageTag -}}"
4343
imagePullPolicy: {{ .Values.invoker.containerFactory.kubernetes.agent.imagePullPolicy | quote }}
4444
securityContext:
4545
privileged: true

helm/openwhisk/templates/invoker-pod.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ spec:
5353
{{- end }}
5454
# Wait for a controller to be up (which implies kafka, zookeeper, couchdb are all up as well).
5555
{{ include "openwhisk.readiness.waitForController" . | indent 6 }}
56-
56+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
5757
containers:
5858
- name: invoker
59-
image: "{{- .Values.invoker.imageName -}}:{{- .Values.invoker.imageTag -}}"
59+
image: "{{- .Values.docker.registry.name -}}{{- .Values.invoker.imageName -}}:{{- .Values.invoker.imageTag -}}"
6060
imagePullPolicy: {{ .Values.invoker.imagePullPolicy | quote }}
6161
{{- if and (eq .Values.invoker.containerFactory.impl "docker") .Values.invoker.containerFactory.networkConfig.dns.inheritInvokerConfig }}
6262
command: [ "/bin/bash", "-c", ". /invoker-scripts/configureDNS.sh && /init.sh --uniqueName $INVOKER_NAME" ]

helm/openwhisk/templates/kafka-pod.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ spec:
3838

3939
initContainers:
4040
{{ include "openwhisk.readiness.waitForZookeeper" . | indent 6 }}
41-
41+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
4242
containers:
4343
- name: kafka
44-
image: "{{- .Values.kafka.imageName -}}:{{- .Values.kafka.imageTag -}}"
44+
image: "{{- .Values.docker.registry.name -}}{{- .Values.kafka.imageName -}}:{{- .Values.kafka.imageTag -}}"
4545
imagePullPolicy: {{ .Values.kafka.imagePullPolicy | quote }}
4646
{{- if .Values.k8s.persistence.enabled }}
4747
volumeMounts:

helm/openwhisk/templates/nginx-pod.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ spec:
3636
name: {{ .Release.Name }}-nginx
3737
- name: logs
3838
emptyDir: {}
39-
39+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
4040
containers:
4141
- name: nginx
42-
image: "{{- .Values.nginx.imageName -}}:{{- .Values.nginx.imageTag -}}"
42+
image: "{{- .Values.docker.registry.name -}}{{- .Values.nginx.imageName -}}:{{- .Values.nginx.imageTag -}}"
4343
imagePullPolicy: {{ .Values.nginx.imagePullPolicy | quote }}
4444
ports:
4545
- name: http
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
2+
# license agreements; and to You under the Apache License, Version 2.0.
3+
4+
{{- if ne .Values.docker.registry.name "" }}
5+
6+
apiVersion: v1
7+
kind: Secret
8+
metadata:
9+
name: {{ .Release.Name }}-private-registry.auth
10+
labels:
11+
{{ include "openwhisk.label_boilerplate" . | indent 4 }}
12+
type: kubernetes.io/dockerconfigjson
13+
data:
14+
.dockerconfigjson: {{ template "openwhisk.dockerRegistrySecret" . }}
15+
{{- end }}
16+

helm/openwhisk/templates/provider-alarm-pod.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ spec:
3232
initContainers:
3333
# Wait for a controller to be up (which implies couchdb is up as well).
3434
{{ include "openwhisk.readiness.waitForController" . | indent 6 }}
35+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
3536
containers:
3637
- name: alarmprovider
37-
image: "{{- .Values.providers.alarm.imageName -}}:{{- .Values.providers.alarm.imageTag -}}"
38+
image: "{{- .Values.docker.registry.name -}}{{- .Values.providers.alarm.imageName -}}:{{- .Values.providers.alarm.imageTag -}}"
3839
imagePullPolicy: {{ .Values.providers.alarm.imagePullPolicy | quote }}
3940
ports:
4041
- name: alarmprovider

helm/openwhisk/templates/provider-cloudant-pod.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ spec:
3232
initContainers:
3333
# Wait for a controller to be up (which implies couchdb is up as well).
3434
{{ include "openwhisk.readiness.waitForController" . | indent 6 }}
35+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
3536
containers:
3637
- name: cloudantprovider
37-
image: "{{- .Values.providers.cloudant.imageName -}}:{{- .Values.providers.cloudant.imageTag -}}"
38+
image: "{{- .Values.docker.registry.name -}}{{- .Values.providers.cloudant.imageName -}}:{{- .Values.providers.cloudant.imageTag -}}"
3839
imagePullPolicy: {{ .Values.providers.cloudant.imagePullPolicy | quote }}
3940
ports:
4041
- name: cludntprovider

helm/openwhisk/templates/provider-kafka-pod.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ spec:
2424
initContainers:
2525
# Wait for a controller to be up (which implies couchdb and kafka are up as well).
2626
{{ include "openwhisk.readiness.waitForController" . | indent 6 }}
27+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
2728
containers:
2829
- name: kafkaprovider
29-
image: "{{- .Values.providers.kafka.imageName -}}:{{- .Values.providers.kafka.imageTag -}}"
30+
image: "{{- .Values.docker.registry.name -}}{{- .Values.providers.kafka.imageName -}}:{{- .Values.providers.kafka.imageTag -}}"
3031
imagePullPolicy: {{ .Values.providers.kafka.imagePullPolicy | quote }}
3132
ports:
3233
- name: kafkaprovider

helm/openwhisk/templates/redis-pod.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737
{{- if .Values.k8s.persistence.enabled }}
3838
initContainers:
3939
- name: redis-init
40-
image: busybox
40+
image: "{{- .Values.docker.registry.name -}}busybox"
4141
command:
4242
- chown
4343
- -v
@@ -49,10 +49,10 @@ spec:
4949
name: redis-data
5050
readOnly: false
5151
{{- end }}
52-
52+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 6 }}
5353
containers:
5454
- name: redis
55-
image: "{{- .Values.redis.imageName -}}:{{- .Values.redis.imageTag -}}"
55+
image: "{{- .Values.docker.registry.name -}}{{- .Values.redis.imageName -}}:{{- .Values.redis.imageTag -}}"
5656
imagePullPolicy: {{ .Values.redis.imagePullPolicy | quote }}
5757
{{- if .Values.k8s.persistence.enabled }}
5858
volumeMounts:

helm/openwhisk/templates/tests/package-checker-pod.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ spec:
1717
- name: task-dir
1818
configMap:
1919
name: {{ .Release.Name }}-tests-package-checker
20+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 2 }}
2021
containers:
2122
- name: package-checker
22-
image: "{{- .Values.utility.imageName -}}:{{- .Values.utility.imageTag -}}"
23+
image: "{{- .Values.docker.registry.name -}}{{- .Values.utility.imageName -}}:{{- .Values.utility.imageTag -}}"
2324
imagePullPolicy: {{ .Values.utility.imagePullPolicy | quote }}
2425
command: ["/bin/bash", "/task/myTask.sh"]
2526
volumeMounts:

helm/openwhisk/templates/tests/smoketest-pod.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ spec:
1717
- name: task-dir
1818
configMap:
1919
name: {{ .Release.Name }}-tests-smoketest
20+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 2 }}
2021
containers:
2122
- name: smoketest
22-
image: "{{- .Values.utility.imageName -}}:{{- .Values.utility.imageTag -}}"
23+
image: "{{- .Values.docker.registry.name -}}{{- .Values.utility.imageName -}}:{{- .Values.utility.imageTag -}}"
2324
imagePullPolicy: {{ .Values.utility.imagePullPolicy | quote }}
2425
command: ["/bin/bash", "/task/myTask.sh"]
2526
volumeMounts:

helm/openwhisk/templates/tests/systemtest-pod.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ spec:
1818
- name: task-dir
1919
configMap:
2020
name: {{ .Release.Name }}-tests-systemtest
21+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 2 }}
2122
containers:
2223
- name: systemtest
23-
image: "{{- .Values.utility.imageName -}}:{{- .Values.utility.imageTag -}}"
24+
image: "{{- .Values.docker.registry.name -}}{{- .Values.utility.imageName -}}:{{- .Values.utility.imageTag -}}"
2425
imagePullPolicy: {{ .Values.utility.imagePullPolicy | quote }}
2526
command: ["/bin/bash", "/task/myTask.sh"]
2627
volumeMounts:

helm/openwhisk/templates/wskadmin-pod.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ metadata:
1010
{{ include "openwhisk.label_boilerplate" . | indent 4 }}
1111
spec:
1212
restartPolicy: Always
13+
{{ include "openwhisk.docker.imagePullSecrets" . | indent 2 }}
1314
containers:
1415
- name: wskadmin
15-
image: "{{- .Values.utility.imageName -}}:{{- .Values.utility.imageTag -}}"
16+
image: "{{- .Values.docker.registry.name -}}{{- .Values.utility.imageName -}}:{{- .Values.utility.imageTag -}}"
1617
imagePullPolicy: {{ .Values.utility.imagePullPolicy | quote }}
1718
command: ["/bin/bash", "-c", "tail -f /dev/null"]
1819
env:

0 commit comments

Comments
 (0)