Fix for error while pulling images from local registry
Added default secret for pulling image from local registry Moved the application into kube-system namespace Closes-Bug: 1917352 Change-Id: I058ac7cfef4919c23bc777967cdfb8105e6d8606 Signed-off-by: Poornima <poornima.y.n@intel.com>
This commit is contained in:
parent
08550845aa
commit
b0f2cbdf62
@ -13,6 +13,8 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: redis
|
app: redis
|
||||||
spec:
|
spec:
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: registry-local-secret
|
||||||
containers:
|
containers:
|
||||||
- name: redis
|
- name: redis
|
||||||
image: {{ .Values.images.tags.redisimage }}
|
image: {{ .Values.images.tags.redisimage }}
|
||||||
|
@ -16,9 +16,11 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: RV-Service
|
app: RV-Service
|
||||||
spec:
|
spec:
|
||||||
|
imagePullSecrets:
|
||||||
|
- name: registry-local-secret
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: init-redis
|
- name: init-redis
|
||||||
image: busybox:1.28
|
image: {{ .Values.images.tags.busyboximage }}
|
||||||
command: ['sh', '-c', "until nslookup redis.$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace).svc.cluster.local; do echo waiting for redis; sleep 2; done"]
|
command: ['sh', '-c', "until nslookup redis.$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace).svc.cluster.local; do echo waiting for redis; sleep 2; done"]
|
||||||
containers:
|
containers:
|
||||||
- name: u-rendezvous-service
|
- name: u-rendezvous-service
|
||||||
|
@ -2,6 +2,7 @@ images:
|
|||||||
tags:
|
tags:
|
||||||
rv: 15201086/rendezvous-service:1.10
|
rv: 15201086/rendezvous-service:1.10
|
||||||
redisimage: 15201086/redis:050220213WKAgo
|
redisimage: 15201086/redis:050220213WKAgo
|
||||||
|
busyboximage: 15201086/busybox:1.28
|
||||||
env:
|
env:
|
||||||
rv_var:
|
rv_var:
|
||||||
RV_SIGNATUREVERIFICATION: "true"
|
RV_SIGNATUREVERIFICATION: "true"
|
||||||
|
@ -6,7 +6,7 @@ metadata:
|
|||||||
data:
|
data:
|
||||||
chart_name: sdo
|
chart_name: sdo
|
||||||
release: sdo
|
release: sdo
|
||||||
namespace: stx-sdo
|
namespace: kube-system
|
||||||
source:
|
source:
|
||||||
location: http://172.17.0.1:8080/helm_charts/starlingx/sdo-1.0.0.tgz
|
location: http://172.17.0.1:8080/helm_charts/starlingx/sdo-1.0.0.tgz
|
||||||
subpath: sdo
|
subpath: sdo
|
||||||
@ -16,6 +16,8 @@ data:
|
|||||||
timeout: 1800
|
timeout: 1800
|
||||||
install:
|
install:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
|
values:
|
||||||
|
imagePullSecrets: [{"name": "default-registry-key"}]
|
||||||
upgrade:
|
upgrade:
|
||||||
no_hooks: false
|
no_hooks: false
|
||||||
pre:
|
pre:
|
||||||
|
Loading…
Reference in New Issue
Block a user