From 68ea0c64441b37c264f40f2ebb7b5cd3b30a897b Mon Sep 17 00:00:00 2001 From: Sylvain Desbureaux Date: Tue, 15 Dec 2020 09:43:49 +0100 Subject: [SDNC] Remove hook on db job This hook is not really used and slows down ONAP installation. Issue-ID: OOM-2652 Signed-off-by: Sylvain Desbureaux Change-Id: I3693615a8af53da51d12d3a735f0bf183e59626b --- kubernetes/sdnc/resources/config/bin/installSdncDb.sh | 2 +- kubernetes/sdnc/templates/job.yaml | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'kubernetes/sdnc') diff --git a/kubernetes/sdnc/resources/config/bin/installSdncDb.sh b/kubernetes/sdnc/resources/config/bin/installSdncDb.sh index caf745c9d3..11ed7f45bf 100755 --- a/kubernetes/sdnc/resources/config/bin/installSdncDb.sh +++ b/kubernetes/sdnc/resources/config/bin/installSdncDb.sh @@ -65,7 +65,7 @@ ${BIN_DIR}/rmForeignKey.sh NETWORK_MODEL FK_NETWORK_MODEL if [ -x ${SDNC_HOME}/svclogic/bin/install.sh ] then echo "Installing directed graphs" - ${SDNC_HOME}/svclogic/bin/install.sh + ${SDNC_HOME}/svclogic/bin/install.sh fi diff --git a/kubernetes/sdnc/templates/job.yaml b/kubernetes/sdnc/templates/job.yaml index 897a0bac7e..9f6273d5ff 100755 --- a/kubernetes/sdnc/templates/job.yaml +++ b/kubernetes/sdnc/templates/job.yaml @@ -25,10 +25,6 @@ metadata: chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} release: {{ include "common.release" . }} heritage: {{ .Release.Service }} - annotations: - "helm.sh/hook": post-install - "helm.sh/hook-weight": "0" - "helm.sh/hook-delete-policy": before-hook-creation spec: backoffLimit: 20 template: -- cgit 1.2.3-korg