-
Notifications
You must be signed in to change notification settings - Fork 277
Add helm install to e2e test framework #1814
Comments
@ritazh How were you thinking this should work? The ways I can think of:
|
@nojnhuh Ideally we should have every test run against a cluster with |
@ritazh If we do the same thing for all the other install parameters like cert manager, egress enabled/disabled, permissive traffic policy, etc., I worry that every combination of different parameters would make the suite way too big. And since I would suggest we add one or two tests that use Helm directly, but not run every single test with both methods. |
@nojnhuh This is definitely a valid concern. I think at a minimum, we need to test if the installation via |
@ritazh I don't disagree with anything you're saying, but I think the mechanics of testing that are a little tricky.
I'm just thinking out loud here, but isn't this kind of a chicken-egg problem? Since
I think if we want to ensure installing with the default values works for a tagged release, we need to override at least the |
To test the binary changes in a PR, the CI can build an image from the PR, load it to the kind cluster, then set the image value to the local image we just built for helm |
Yeah, that's the flow we have implemented right now for the other tests. To test with the default values though (i.e. not overriding the image) we could really only do that on the tagged commits or else we'll get version skew. |
Can you please expand on this? Why do we not want to override the image? I was suggesting that we could build the image locally in the pipeline, load the image to the kind cluster, then override the image in the chart to test the PR. |
Perhaps I wasn't fully understanding your earlier comment:
I think I was reading that as "We should test that a plain But yes, I agree we should override the image tag to use one built with the source from the particular PR we're testing. |
* tests(e2e): add helm install e2e test resolves #1814 * add mesh name to install vals * Update tests/e2e/e2e_helm_install_test.go Co-authored-by: Jon Huhn <nojnhuh@users.noreply.github.com> Co-authored-by: Jon Huhn <nojnhuh@users.noreply.github.com>
* tests(e2e): add helm install e2e test resolves openservicemesh#1814 * add mesh name to install vals * Update tests/e2e/e2e_helm_install_test.go Co-authored-by: Jon Huhn <nojnhuh@users.noreply.github.com> Co-authored-by: Jon Huhn <nojnhuh@users.noreply.github.com>
Please describe the Improvement and/or Feature Request
In addition to installation via the osm cli,
helm install
needs to be added as another installation process to the e2e test framework regardless of specific scenarios we are testing.Scope (please mark with X where applicable)
Possible use cases
The text was updated successfully, but these errors were encountered: