Skip to content

Commit

Permalink
Fix e2e tests by allowing custom images in helm install (#8191)
Browse files Browse the repository at this point in the history
### 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]>
  • Loading branch information
migruiz4 authored Dec 26, 2024
1 parent c0fabfb commit c3f2462
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/e2e-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ installOrUpgradeKubeapps() {
--set apprepository.initialRepos[0].basicAuth.user=admin
--set apprepository.initialRepos[0].basicAuth.password=password
--set apprepository.globalReposNamespaceSuffix=-repos-global
--set global.security.allowInsecureImages=true
--wait)

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

echo "${cmd[@]}"
Expand Down

0 comments on commit c3f2462

Please sign in to comment.