aboutsummaryrefslogtreecommitdiffstats
path: root/components/aai-sparky-be
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-08-21 09:30:30 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-08-25 08:47:12 +0200
commitd0b2eb2493a3e1ce06af4d93b5fc71df86462f79 (patch)
treedc7dd771feb14712c285005fff1cb54e37f6fa1d /components/aai-sparky-be
parentdceb913fa262d4d1112ae734e6f9768b0354f9be (diff)
Prepare upgrade to readiness containers v3.0.1
Readiness 3.x is a new version, not using root user and using stable Kubernetes API. The upgrade is not doable by just changing version as script path has moved. Therefore, we must upgrade everything in one shot. As AAI is not in the same repo, it's not doable for this component. We then change variables only for AAI so we can continue to use older images. We'll move AAI just after the rest has been upgraded. Issue-ID: OOM-2545 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I5afa83892043f4844afe12e61724a8d368a9f2e0
Diffstat (limited to 'components/aai-sparky-be')
-rw-r--r--components/aai-sparky-be/templates/deployment.yaml2
-rw-r--r--components/aai-sparky-be/values.yaml2
2 files changed, 3 insertions, 1 deletions
diff --git a/components/aai-sparky-be/templates/deployment.yaml b/components/aai-sparky-be/templates/deployment.yaml
index fedb0da..b0bc74e 100644
--- a/components/aai-sparky-be/templates/deployment.yaml
+++ b/components/aai-sparky-be/templates/deployment.yaml
@@ -51,7 +51,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
- image: "{{ .Values.global.readinessRepository }}/{{ .Values.global.readinessImage }}"
+ image: "{{ .Values.global.legacyReadinessRepository }}/{{ .Values.global.legacyReadinessImage }}"
imagePullPolicy: {{ .Values.global.pullPolicy | default .Values.pullPolicy }}
name: {{ include "common.name" . }}-readiness
containers:
diff --git a/components/aai-sparky-be/values.yaml b/components/aai-sparky-be/values.yaml
index 36820c4..643eee7 100644
--- a/components/aai-sparky-be/values.yaml
+++ b/components/aai-sparky-be/values.yaml
@@ -25,6 +25,8 @@ global: # global defaults
serviceName: aai-gizmo
searchData:
serviceName: aai-search-data
+ legacyReadinessRepository: oomk8s
+ legacyReadinessImage: readiness-check:2.2.2
# application image
repository: nexus3.onap.org:10001