diff --git a/pkg/apis/externaldns/types_test.go b/pkg/apis/externaldns/types_test.go index f604e6a76e..1879e94143 100644 --- a/pkg/apis/externaldns/types_test.go +++ b/pkg/apis/externaldns/types_test.go @@ -742,7 +742,7 @@ func TestParseFlagsCliFlagSeparatedValue(t *testing.T) { assert.ElementsMatch(t, []string{"service"}, cfg.Sources) } -// Env vars are accpeted by Kingpin backend but ignored by Cobra +// Env vars are accepted by Kingpin backend but ignored by Cobra func TestEnvVarsIgnoredByCobraBackend(t *testing.T) { t.Setenv("EXTERNAL_DNS_CLI", "cobra") t.Setenv("EXTERNAL_DNS_NAMESPACE", "ns-from-env") diff --git a/source/gateway_httproute_test.go b/source/gateway_httproute_test.go index 031ae93cf7..d82c51e64e 100644 --- a/source/gateway_httproute_test.go +++ b/source/gateway_httproute_test.go @@ -1329,7 +1329,7 @@ func TestGatewayHTTPRouteSourceEndpoints(t *testing.T) { gateways: []*v1beta1.Gateway{ { ObjectMeta: metav1.ObjectMeta{ - Name: "overriden-gateway", + Name: "overridden-gateway", Namespace: "gateway-namespace", Annotations: map[string]string{ annotations.TargetKey: "4.3.2.1", @@ -1350,12 +1350,12 @@ func TestGatewayHTTPRouteSourceEndpoints(t *testing.T) { Hostnames: hostnames("test.example.internal"), CommonRouteSpec: v1.CommonRouteSpec{ ParentRefs: []v1.ParentReference{ - gwParentRef("gateway-namespace", "overriden-gateway"), + gwParentRef("gateway-namespace", "overridden-gateway"), }, }, }, Status: httpRouteStatus( // The route is attached to both gateways. - gwParentRef("gateway-namespace", "overriden-gateway"), + gwParentRef("gateway-namespace", "overridden-gateway"), ), }}, endpoints: []*endpoint.Endpoint{ @@ -1371,7 +1371,7 @@ func TestGatewayHTTPRouteSourceEndpoints(t *testing.T) { gateways: []*v1beta1.Gateway{ { ObjectMeta: metav1.ObjectMeta{ - Name: "overriden-gateway", + Name: "overridden-gateway", Namespace: "gateway-namespace", Annotations: map[string]string{ annotations.TargetKey: "4.3.2.1", @@ -1402,13 +1402,13 @@ func TestGatewayHTTPRouteSourceEndpoints(t *testing.T) { Hostnames: hostnames("test.example.internal"), CommonRouteSpec: v1.CommonRouteSpec{ ParentRefs: []v1.ParentReference{ - gwParentRef("gateway-namespace", "overriden-gateway"), + gwParentRef("gateway-namespace", "overridden-gateway"), gwParentRef("gateway-namespace", "test"), }, }, }, Status: httpRouteStatus( - gwParentRef("gateway-namespace", "overriden-gateway"), + gwParentRef("gateway-namespace", "overridden-gateway"), gwParentRef("gateway-namespace", "test"), ), }},