mirror of
https://github.com/alibaba/higress.git
synced 2026-05-28 14:47:29 +08:00
upgrade to istio 1.19 (#1211)
Co-authored-by: CH3CHO <ch3cho@qq.com> Co-authored-by: rinfx <893383980@qq.com>
This commit is contained in:
@@ -19,25 +19,25 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"istio.io/istio/pilot/pkg/model"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
)
|
||||
|
||||
func TestExtraSecret(t *testing.T) {
|
||||
inputCases := []struct {
|
||||
input string
|
||||
expect model.NamespacedName
|
||||
expect types.NamespacedName
|
||||
}{
|
||||
{
|
||||
input: "test/test",
|
||||
expect: model.NamespacedName{},
|
||||
expect: types.NamespacedName{},
|
||||
},
|
||||
{
|
||||
input: "kubernetes-ingress://test/test",
|
||||
expect: model.NamespacedName{},
|
||||
expect: types.NamespacedName{},
|
||||
},
|
||||
{
|
||||
input: "kubernetes-ingress://cluster/foo/bar",
|
||||
expect: model.NamespacedName{
|
||||
expect: types.NamespacedName{
|
||||
Namespace: "foo",
|
||||
Name: "bar",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user