aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/uui/components/uui-intent-analysis
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/uui/components/uui-intent-analysis')
-rw-r--r--kubernetes/uui/components/uui-intent-analysis/Chart.yaml2
-rw-r--r--kubernetes/uui/components/uui-intent-analysis/templates/job.yaml1
-rw-r--r--kubernetes/uui/components/uui-intent-analysis/values.yaml4
3 files changed, 6 insertions, 1 deletions
diff --git a/kubernetes/uui/components/uui-intent-analysis/Chart.yaml b/kubernetes/uui/components/uui-intent-analysis/Chart.yaml
index 89b67993e4..8f670de70c 100644
--- a/kubernetes/uui/components/uui-intent-analysis/Chart.yaml
+++ b/kubernetes/uui/components/uui-intent-analysis/Chart.yaml
@@ -15,7 +15,7 @@
apiVersion: v2
description: ONAP uui intent analysis
name: uui-intent-analysis
-version: 11.0.0
+version: 12.0.0
dependencies:
- name: common
diff --git a/kubernetes/uui/components/uui-intent-analysis/templates/job.yaml b/kubernetes/uui/components/uui-intent-analysis/templates/job.yaml
index edcf3fe09f..ba1e385a12 100644
--- a/kubernetes/uui/components/uui-intent-analysis/templates/job.yaml
+++ b/kubernetes/uui/components/uui-intent-analysis/templates/job.yaml
@@ -66,6 +66,7 @@ spec:
- name: init-data
mountPath: /aaa/init/intent-analysis-init.sql
subPath: intent-analysis-init.sql
+ {{ include "common.waitForJobContainer" . | indent 6 | trim }}
imagePullSecrets:
- name: "{{ include "common.namespace" . }}-docker-registry-key"
volumes:
diff --git a/kubernetes/uui/components/uui-intent-analysis/values.yaml b/kubernetes/uui/components/uui-intent-analysis/values.yaml
index 65cc4004bb..7b3c12a593 100644
--- a/kubernetes/uui/components/uui-intent-analysis/values.yaml
+++ b/kubernetes/uui/components/uui-intent-analysis/values.yaml
@@ -93,6 +93,10 @@ readinessCheck:
containers:
- *postgresName
+wait_for_job_container:
+ containers:
+ - '{{ include "common.name" . }}-job'
+
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following