Michal Ptacek | 5a269d2 | 2019-01-28 13:03:16 +0000 | [diff] [blame^] | 1 | --- kubernetes/common/dgbuilder/templates/deployment.yaml 2019-01-28 13:01:35.017243076 +0100 |
| 2 | +++ kubernetes/common/dgbuilder/templates/deployment.yaml 2019-01-28 13:19:04.238712534 +0100 |
| 3 | @@ -49,8 +49,14 @@ |
| 4 | - name: {{ include "common.name" . }} |
| 5 | image: "{{ include "common.repository" . }}/{{ .Values.image }}" |
| 6 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 7 | - command: ["/bin/bash"] |
| 8 | - args: ["-c", "cd /opt/onap/ccsdk/dgbuilder/ && ./start.sh sdnc1.0 && wait"] |
| 9 | + command: |
| 10 | + - /bin/bash |
| 11 | + - -c |
| 12 | + - > |
| 13 | + HOSTS_FILE_RECORD >> /etc/hosts; |
| 14 | + NPM_REGISTRY_RECORD; |
| 15 | + cd /opt/onap/ccsdk/dgbuilder/; |
| 16 | + ./start.sh sdnc1.0 && wait |
| 17 | ports: |
| 18 | - containerPort: {{ .Values.service.internalPort }} |
| 19 | readinessProbe: |
| 20 | --- kubernetes/sdnc/charts/sdnc-portal/templates/deployment.yaml 2019-01-28 13:01:35.087243698 +0100 |
| 21 | +++ kubernetes/sdnc/charts/sdnc-portal/templates/deployment.yaml 2019-01-28 13:29:24.881069646 +0100 |
| 22 | @@ -49,8 +49,13 @@ |
| 23 | name: {{ include "common.name" . }}-readiness |
| 24 | containers: |
| 25 | - name: {{ include "common.name" . }} |
| 26 | - command: ["/bin/bash"] |
| 27 | - args: ["-c", "cd /opt/onap/sdnc/admportal/shell && ./start_portal.sh"] |
| 28 | + command: |
| 29 | + - /bin/bash |
| 30 | + - -c |
| 31 | + - > |
| 32 | + HOSTS_FILE_RECORD >> /etc/hosts; |
| 33 | + NPM_REGISTRY_RECORD; |
| 34 | + cd /opt/onap/sdnc/admportal/shell && ./start_portal.sh |
| 35 | image: "{{ include "common.repository" . }}/{{ .Values.image }}" |
| 36 | imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} |
| 37 | ports: |