Adjusting patching file for Dublin
[oom/offline-installer.git] / patches / dublin.patch
1 From 03304478e972bec1ae0a4310330eb196558c07d4 Mon Sep 17 00:00:00 2001
2 From: Michal Ptacek <m.ptacek@partner.samsung.com>
3 Date: Fri, 24 May 2019 11:20:02 +0000
4 Subject: [PATCH] Adding patch for dgbuilder
5
6 Change-Id: Ic4bef7c611d0b7d5559fdc84ccf43214437c40ed
7 ---
8  kubernetes/common/dgbuilder/templates/deployment.yaml | 8 ++++++--
9  1 file changed, 6 insertions(+), 2 deletions(-)
10
11 diff --git a/kubernetes/common/dgbuilder/templates/deployment.yaml b/kubernetes/common/dgbuilder/templates/deployment.yaml
12 index 353c231..cf38409 100644
13 --- a/kubernetes/common/dgbuilder/templates/deployment.yaml
14 +++ b/kubernetes/common/dgbuilder/templates/deployment.yaml
15 @@ -49,8 +49,12 @@ spec:
16          - name: {{ include "common.name" . }}
17            image: "{{ include "common.repository" . }}/{{ .Values.image }}"
18            imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
19 -          command: ["/bin/bash"]
20 -          args: ["-c", "cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait"]
21 +          command:
22 +          - /bin/bash
23 +          - -c
24 +          - >
25 +            NPM_REGISTRY_RECORD;
26 +            cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait
27            ports:
28            - containerPort: {{ .Values.service.internalPort }}
29            readinessProbe:
30 -- 
31 1.8.3.1
32