Skip to content

Commit c3f2462

Browse files
authored
Fix e2e tests by allowing custom images in helm install (#8191)
### Description of the change Fixes e2e tests by adding 'global.security.allowInsecureImages=true' to helm install/upgrade commands This is required since the tests will use the custom built images for testing purposes. Signed-off-by: Miguel Ruiz <[email protected]>
1 parent c0fabfb commit c3f2462

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

script/e2e-test.sh

+2
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@ installOrUpgradeKubeapps() {
319319
--set apprepository.initialRepos[0].basicAuth.user=admin
320320
--set apprepository.initialRepos[0].basicAuth.password=password
321321
--set apprepository.globalReposNamespaceSuffix=-repos-global
322+
--set global.security.allowInsecureImages=true
322323
--wait)
323324

324325
echo "${cmd[@]}"
@@ -793,6 +794,7 @@ if [[ -z "${GKE_VERSION-}" && ("${TESTS_GROUP}" == "${ALL_TESTS}" || "${TESTS_GR
793794
--set apprepository.initialRepos[0].basicAuth.password=password
794795
--set apprepository.globalReposNamespaceSuffix=-repos-global
795796
--set global.postgresql.auth.postgresPassword=password
797+
--set global.security.allowInsecureImages=true
796798
--wait)
797799

798800
echo "${cmd[@]}"

0 commit comments

Comments
 (0)