diff --git a/e2e/e2e_test.go b/e2e/e2e_test.go index ca7e57e..cdd0be6 100644 --- a/e2e/e2e_test.go +++ b/e2e/e2e_test.go @@ -21,7 +21,7 @@ var ( trustDomain = "cluster.local" ) -// newIdentity creates http response with prefix and SpiffeID. +// newIdentity returns the Istio mTLS identity with a custom prefix. func newIdentity(prefix, ns, sa string) string { return prefix + "spiffe://" + trustDomain + "/ns/" + ns + "/sa/" + sa }