summaryrefslogtreecommitdiffstats
path: root/components/aai-sparky-be/templates
diff options
context:
space:
mode:
authorGrzegorz-Lis <grzegorz.lis@nokia.com>2020-09-07 13:38:42 +0200
committerGrzegorz Lis <grzegorz.lis@nokia.com>2020-09-07 11:51:24 +0000
commit5a01a0953803b3d1b140a77c779a3b942e293228 (patch)
tree9e9fda9f276a301704ad2de7ddad2585c3609902 /components/aai-sparky-be/templates
parent1990a02ce9295df7c94009401c24fa226a10f8e8 (diff)
[AAI] Use readiness container v3.0.1
Readiness container v3.x and up are now present in ONAP main repository. They're also not using root user anymore and then script path has changed. Finally, "job_complete" script has been integrated in main "ready" script. This change will align readinessImage definition with rest of ONAP components. Issue-ID: OOM-2545 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I766a16be3ae2669f562c9b4ebef875bfbdfac6a0
Diffstat (limited to 'components/aai-sparky-be/templates')
-rw-r--r--components/aai-sparky-be/templates/deployment.yaml9
1 files changed, 5 insertions, 4 deletions
diff --git a/components/aai-sparky-be/templates/deployment.yaml b/components/aai-sparky-be/templates/deployment.yaml
index b0bc74e..a4fe4e2 100644
--- a/components/aai-sparky-be/templates/deployment.yaml
+++ b/components/aai-sparky-be/templates/deployment.yaml
@@ -1,5 +1,6 @@
-# Copyright © 2017 Amdocs, Bell Canada
-# Modifications Copyright © 2018 AT&T
+# Copyright (c) 2017 Amdocs, Bell Canada
+# Modifications Copyright (c) 2018 AT&T
+# Modifications Copyright (c) 2020 Nokia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -37,7 +38,7 @@ spec:
spec:
initContainers:
- command:
- - /root/ready.py
+ - /app/ready.py
args:
- --container-name
- aai-elasticsearch
@@ -51,7 +52,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- image: "{{ .Values.global.legacyReadinessRepository }}/{{ .Values.global.legacyReadinessImage }}"
+ image: "{{ include "common.repository" . }}/{{ .Values.global.readinessImage }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: {{ include "common.name" . }}-readiness
containers: