diff options
author | 2023-02-07 13:10:01 +0100 | |
---|---|---|
committer | 2023-02-14 08:38:51 +0000 | |
commit | 22f3b16043de9d28461a523202018ef82fcb892d (patch) | |
tree | e47de6460e7d18faf987bd48135045f166f52552 /kubernetes/uui/components/uui-intent-analysis | |
parent | 63ec99de7215eb043093dd0e8ec90d8c33aa6590 (diff) |
[UUI] Make UUI SM compatible
Change the service definitions and deployment to support the nonTLS setup
(AAF removal) using existing templates
Issue-ID: OOM-2998
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: If86aa97e2bc8eef628a02d43407b2f16b1d06783
Diffstat (limited to 'kubernetes/uui/components/uui-intent-analysis')
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 |