John Howard a389021575 Agentgateway: Support full BackendTLSPolicy spec (including status) (#13209)
Signed-off-by: John Howard <john.howard@solo.io>
2026-02-10 10:22:54 -08:00

31 lines
981 B
Go

//go:build e2e
package e2e
import (
"path/filepath"
"github.com/agentgateway/agentgateway/controller/pkg/utils/fsutils"
)
var (
// EmptyValuesManifestPath returns the path to a manifest with no values
// We prefer to have our tests be explicit and require defining a values file. However, some tests
// rely entirely on the values provided by the "profile". In those cases, the test supplies this reference
EmptyValuesManifestPath = ManifestPath("empty-values.yaml")
// ControlPlaneTLSManifestPath returns the path to a manifest with TLS enabled for xDS communication
ControlPlaneTLSManifestPath = ManifestPath("controlplane-tls-helm.yaml")
)
// ManifestPath returns the absolute path to a manifest file.
// These are all stored in the tests/manifests directory
func ManifestPath(pathParts ...string) string {
manifestPathParts := append([]string{
fsutils.MustGetThisDir(),
"tests",
"manifests",
}, pathParts...)
return filepath.Join(manifestPathParts...)
}