kumahq / kuma

🐻 The multi-zone service mesh for containers, Kubernetes and VMs. Built with Envoy. CNCF Sandbox Project.
https://kuma.io/install
Apache License 2.0
3.61k stars 332 forks source link

Use resource builders in e2e tests #11294

Open michaelbeaumont opened 2 weeks ago

michaelbeaumont commented 2 weeks ago

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 https://github.com/kumahq/kuma/pull/11279#discussion_r1742057213_

slonka commented 5 days ago

Please take https://github.com/kumahq/kuma/pull/11383#discussion_r1758627010 into account when doing this.