summaryrefslogtreecommitdiffstats
path: root/components/aai-resources
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-resources
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-resources')
-rw-r--r--components/aai-resources/templates/deployment.yaml2
-rw-r--r--components/aai-resources/values.yaml4
2 files changed, 3 insertions, 3 deletions
diff --git a/components/aai-resources/templates/deployment.yaml b/components/aai-resources/templates/deployment.yaml
index 5f8b638..c43c4ec 100644
--- a/components/aai-resources/templates/deployment.yaml
+++ b/components/aai-resources/templates/deployment.yaml
@@ -1211,7 +1211,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
{{ if .Values.global.installSidecarSecurity }}
diff --git a/components/aai-resources/values.yaml b/components/aai-resources/values.yaml
index 00e1c83..b71c9c4 100644
--- a/components/aai-resources/values.yaml
+++ b/components/aai-resources/values.yaml
@@ -17,8 +17,8 @@
# Declare variables to be passed into your templates.
global: # global defaults
nodePortPrefix: 302
- readinessRepository: oomk8s
- readinessImage: readiness-check:2.0.2
+ legacyReadinessRepository: oomk8s
+ legacyReadinessImage: readiness-check:2.2.2
# application image
repository: nexus3.onap.org:10001