summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
authorMilan Verespej <m.verespej@partner.samsung.com>2019-02-04 11:01:19 +0100
committerMichal Ptacek <m.ptacek@partner.samsung.com>2019-02-06 08:35:19 +0000
commitc2a14cfae6d19c3c6c09394ca710f1871a48983d (patch)
tree79948f6746692e282c879eff4b40980b8b73d76c /patches
parent997057f24ed6681094d4a96cb2738a0bcf307ee0 (diff)
Fix sdnc/appc-ansible-server not running
These pods are installing packages from apt and pypi repositroies during runtime. This change creates patch and makes necessary modifications for packages being installed from offline repositories. Change-Id: Id71f40f94c8641ad0c9d1ba4c87d3daea70c828e Issue-ID: OOM-1619 Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
Diffstat (limited to 'patches')
-rw-r--r--patches/casablanca_3.0.0.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/patches/casablanca_3.0.0.patch b/patches/casablanca_3.0.0.patch
index e40de1dc..61018e7c 100644
--- a/patches/casablanca_3.0.0.patch
+++ b/patches/casablanca_3.0.0.patch
@@ -334,3 +334,45 @@
+{{ include "common.cacert-mount-ubuntu" . | indent 2 }}
+{{- end }}
+{{- end }}
+--- kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml 2019-02-01 13:40:02.349210360 +0100
++++ kubernetes/appc/charts/appc-ansible-server/templates/deployment.yaml 2019-02-01 15:29:52.182542898 +0100
+@@ -47,8 +47,16 @@
+ name: {{ include "common.name" . }}-readiness
+ containers:
+ - name: {{ include "common.name" . }}
+- command: ["/bin/bash"]
+- args: ["-c", "cd /opt/onap/ccsdk && ./startAnsibleServer.sh"]
++ command:
++ - /bin/bash
++ - -c
++ - >
++ pip install -i http://nexus3.onap.org/repository/pypi-private/simple/
++ --trusted-host nexus3.onap.org
++ PyMySQL cherrypy requests;
++ curl -s repo.infra-server/ubuntu/xenial/onap.list > /etc/apt/sources.list;
++ apt-get update;
++ cd /opt/onap/ccsdk && ./startAnsibleServer.sh
+ image: "{{ include "common.repository" . }}/{{ .Values.image }}"
+ imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+ ports:
+--- kubernetes/sdnc/charts/sdnc-ansible-server/templates/deployment.yaml 2019-02-01 13:40:02.415877026 +0100
++++ kubernetes/sdnc/charts/sdnc-ansible-server/templates/deployment.yaml 2019-02-01 15:29:39.399209565 +0100
+@@ -47,8 +47,16 @@
+ name: {{ include "common.name" . }}-readiness
+ containers:
+ - name: {{ include "common.name" . }}
+- command: ["/bin/bash"]
+- args: ["-c", "cd /opt/onap/ccsdk && ./startAnsibleServer.sh"]
++ command:
++ - /bin/bash
++ - -c
++ - >
++ pip install -i http://nexus3.onap.org/repository/pypi-private/simple/
++ --trusted-host nexus3.onap.org
++ PyMySQL cherrypy requests;
++ curl -s repo.infra-server/ubuntu/xenial/onap.list > /etc/apt/sources.list;
++ apt-get update;
++ cd /opt/onap/ccsdk && ./startAnsibleServer.sh
+ image: "{{ include "common.repository" . }}/{{ .Values.image }}"
+ imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
+ ports: