summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-15 09:43:49 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-15 09:43:49 +0100
commit68ea0c64441b37c264f40f2ebb7b5cd3b30a897b (patch)
tree0e6a74aa065cf1bad319bc723af6385f87ea8724 /kubernetes
parent6effd804e453ce754df599b97d7d92566ed71180 (diff)
[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 <sylvain.desbureaux@orange.com> Change-Id: I3693615a8af53da51d12d3a735f0bf183e59626b
Diffstat (limited to 'kubernetes')
-rwxr-xr-xkubernetes/sdnc/resources/config/bin/installSdncDb.sh2
-rwxr-xr-xkubernetes/sdnc/templates/job.yaml4
2 files changed, 1 insertions, 5 deletions
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: