diff options
author | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-02-20 13:58:24 -0500 |
---|---|---|
committer | Timoney, Dan (dt5972) <dtimoney@att.com> | 2019-02-20 13:58:24 -0500 |
commit | 3a2802fdc5d9d127a364f3849ac9914d87401c27 (patch) | |
tree | e9063f90660d6c684064d5acce7dee83fb656c28 /kubernetes/sdnc/charts/sdnc-ansible-server/templates | |
parent | b59a05516a6830c8ab1572023eca08441df53357 (diff) |
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) <dtimoney@att.com>
Diffstat (limited to 'kubernetes/sdnc/charts/sdnc-ansible-server/templates')
-rw-r--r-- | kubernetes/sdnc/charts/sdnc-ansible-server/templates/deployment.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
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: |