From 3a2802fdc5d9d127a364f3849ac9914d87401c27 Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Wed, 20 Feb 2019 13:58:24 -0500 Subject: 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) --- kubernetes/sdnc/charts/sdnc-ansible-server/templates/deployment.yaml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'kubernetes/sdnc/charts/sdnc-ansible-server/templates') 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: -- cgit 1.2.3-korg