tests/e2e: force always pull in non kind-based deployment
OSM install sets `ImagePullPolicy` to `IfNotPresent` by default,
making quick test-update-test iterations not pull new tags if
the tag is already present in nodes (but not latest SHA).
@@ -265,6 +265,11 @@ func (td *OsmTestData) InstallOSM(instOpts InstallOSMOpts) error {
)
}
+ if !td.kindCluster {
+ // Making sure the image is always pulled in registry-based testing
+ args = append(args, "--osm-image-pull-policy=Always")
+ }
+
if len(instOpts.containerRegistrySecret) != 0 {
args = append(args, "--container-registry-secret="+registrySecretName)
}
