summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMateusz Pilat <m.pilat@partner.samsung.com>2020-05-14 14:43:53 +0200
committerMateusz Pilat <m.pilat@partner.samsung.com>2020-05-14 14:43:53 +0200
commit17e0a5eacaed7519f13e2c0f19749fb4263fb46a (patch)
treecc052fabff5150e97d3af127241875e1d5e8b388 /build
parente56bd4f45f5d9f68aeb406510cf4aa5741405d80 (diff)
Fix: docker-images-collector.sh collect empty image name in output list. Adding also masterPassword param for helm templating
The root cause is that not all parameters are present in aaf chart. It is an issue not only for image params, however other cases are not impacting us. Issue-ID: OOM-2405 Signed-off-by: Mateusz Pilat <m.pilat@partner.samsung.com> Change-Id: I1ad1d33717488a82a2ce1eebe524ee41e1264d40
Diffstat (limited to 'build')
-rwxr-xr-xbuild/creating_data/docker-images-collector.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/creating_data/docker-images-collector.sh b/build/creating_data/docker-images-collector.sh
index 76ee9016..8789350c 100755
--- a/build/creating_data/docker-images-collector.sh
+++ b/build/creating_data/docker-images-collector.sh
@@ -60,7 +60,7 @@ create_list() {
else
>&2 echo -e \n" !!! ${1} sybsystem does not exist !!!"\n
fi
- helm template "${SUBSYS_DIR}" | grep 'image:\ \|tag_version:\ \|h._image' |
+ helm template --set global.masterPassword=TemplatePassword -f ${PROJECT_DIR}/values.yaml "${SUBSYS_DIR}" | grep 'image:\ \|tag_version:\ \|h._image' |
sed -e 's/^.*\"h._image\"\ :\ //; s/^.*\"\(.*\)\".*$/\1/' \
-e 's/\x27\|,//g; s/^.*\(image\|tag_version\):\ //' | tr -d '\r'
}