From: Timoney, Dan (dt5972) Date: Wed, 20 Feb 2019 18:58:24 +0000 (-0500) Subject: Fix sdnc ansible server issue X-Git-Tag: 4.0.0-ONAP~371^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F65%2F78865%2F1;p=oom.git Fix sdnc ansible server issue Due to change by APPC to CCSDK ansible server, SDNC needs to add back the endpoint command for its ansible container (which it had been getting from the ENDPOINT defined in the Dockerfile. Change-Id: Iecaf32d59554ef8bb461f12aa84d3b2f10ebb85a Issue-ID: SDNC-639 Signed-off-by: Timoney, Dan (dt5972) --- diff --git a/kubernetes/sdnc/charts/sdnc-ansible-server/templates/deployment.yaml b/kubernetes/sdnc/charts/sdnc-ansible-server/templates/deployment.yaml index 965caed607..75596226b5 100644 --- a/kubernetes/sdnc/charts/sdnc-ansible-server/templates/deployment.yaml +++ b/kubernetes/sdnc/charts/sdnc-ansible-server/templates/deployment.yaml @@ -47,6 +47,9 @@ spec: name: {{ include "common.name" . }}-readiness containers: - name: {{ include "common.name" . }} + command: ["/bin/bash"] + args: ["-c", "cd /opt/onap/ccsdk && ./startAnsibleServer.sh"] + image: "{{ include "common.repository" . }}/{{ .Values.image }}" imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }} ports: