Fix sdnc ansible server issue 65/78865/1
authorTimoney, Dan (dt5972) <dtimoney@att.com>
Wed, 20 Feb 2019 18:58:24 +0000 (13:58 -0500)
committerTimoney, Dan (dt5972) <dtimoney@att.com>
Wed, 20 Feb 2019 18:58:24 +0000 (13:58 -0500)
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) <dtimoney@att.com>
kubernetes/sdnc/charts/sdnc-ansible-server/templates/deployment.yaml

index 965caed..7559622 100644 (file)
@@ -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: