Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use resource builders in e2e tests #11294

Open
michaelbeaumont opened this issue Sep 3, 2024 · 1 comment
Open

Use resource builders in e2e tests #11294

michaelbeaumont opened this issue Sep 3, 2024 · 1 comment
Labels
kind/cleanup Cleanup/refactor an existing component/code triage/accepted The issue was reviewed and is complete enough to start working on it

Comments

@michaelbeaumont
Copy link
Contributor

Description

We have a lot of static YAMLs and Install functions for various permutations resource fields. We should use the builders we've started using in unit tests.

nit: not the biggest fan of this. We may then need metrics and we'll end up with
MTLSMeshWithMeshServicesAndMetricsKubernetes. I'd do

samples.MeshMTLSBuilder().WithName(meshName).WithEnabledMeshServices("Exclusive").KubeYaml()

Originally posted by @jakubdyszkiewicz in #11279 (comment)

@michaelbeaumont michaelbeaumont added triage/pending This issue will be looked at on the next triage meeting kind/cleanup Cleanup/refactor an existing component/code labels Sep 3, 2024
@michaelbeaumont michaelbeaumont added triage/accepted The issue was reviewed and is complete enough to start working on it and removed triage/pending This issue will be looked at on the next triage meeting labels Sep 9, 2024
@slonka
Copy link
Contributor

slonka commented Sep 13, 2024

Please take #11383 (comment) into account when doing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Cleanup/refactor an existing component/code triage/accepted The issue was reviewed and is complete enough to start working on it
Projects
None yet
Development

No branches or pull requests

2 participants