Skip to content

Commit 7dda872

Browse files
Mongodb to allow using insecure images, needed in our case
Issue: ZENKO-5034
1 parent 660a925 commit 7dda872

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

solution-base/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,10 @@ function render_mongodb_sharded_yamls()
9191
CHART_PATH="$SOLUTION_BASE_DIR/mongodb/charts/mongodb-sharded"
9292

9393
helm template ${MONGODB_SHARDED_NAME} ${CHART_PATH} -n ${MONGODB_NAMESPACE} \
94+
# We use "insecure" images in an Artesca / metalk8s context,
95+
# so we need to allow it. These images are actually not insecure,
96+
# in our case.
97+
--set global.security.allowInsecureImages=true \
9498
--set image.registry=${MONGODB_REGISTRY} \
9599
--set image.repository=${MONGODB_SHARDED_IMAGE_NAME} \
96100
--set image.tag=${MONGODB_SHARDED_IMAGE_TAG} \

0 commit comments

Comments
 (0)