- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for serviceNamespaces (0.34 sec)
-
security/pkg/k8s/chiron/utils_test.go
testCases := []struct { name string gracePeriodRatio float32 minGracePeriod time.Duration k8sCaCertFile string secretNames []string dnsNames []string serviceNamespaces []string secretName string secretNameSpace string invalidCert bool expectFail bool certificateData []byte }{ {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 03:58:11 UTC 2024 - 13K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/serviceresolver_test.go
) func TestDefaultServiceResolver(t *testing.T) { scenarios := []struct { serviceName string serviceNamespace string port int32 expectedOutput string expectError bool }{ // scenario 1: a service name along with a namespace resolves {serviceName: "ross", serviceNamespace: "andromeda", port: 443, expectedOutput: "https://ross.andromeda.svc:443"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 08 07:19:52 UTC 2019 - 2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/authentication.go
} return ret, nil }, ClientConfigForServiceFunc: func(serviceName, serviceNamespace string, servicePort int) (*rest.Config, error) { if serviceName == "kubernetes" && serviceNamespace == corev1.NamespaceDefault && servicePort == 443 { return kubeapiserverClientConfig, nil } ret, err := delegate.ClientConfigForService(serviceName, serviceNamespace, servicePort) if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 29 15:48:39 UTC 2023 - 9.5K bytes - Viewed (0) -
tests/integration/telemetry/policy/helper_test.go
// we can import only the service namespace, so the apps are not known func createSidecarScope(t framework.TestContext, tPolicy TrafficPolicy, appsNamespace namespace.Instance, serviceNamespace namespace.Instance) { args := map[string]string{"ImportNamespace": serviceNamespace.Name(), "TrafficPolicyMode": tPolicy.String()} if err := t.ConfigIstio().Eval(appsNamespace.Name(), args, SidecarScope).Apply(); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 11.4K bytes - Viewed (0) -
tests/integration/security/file_mounted_certs/p2p_mtls_test.go
metadata: name: default namespace: "istio-system" spec: mtls: mode: STRICT ` ) func createObject(ctx framework.TestContext, serviceNamespace string, yamlManifest string) { args := map[string]string{"AppNamespace": serviceNamespace} ctx.ConfigIstio().Eval(serviceNamespace, args, yamlManifest).ApplyOrFail(ctx)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 2.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/authentication_info_resolver.go
atomic.AddInt32(a.cacheMisses, 1) return a.restConfig, nil } func (a *authenticationInfoResolver) ClientConfigForService(serviceName, serviceNamespace string, servicePort int) (*rest.Config, error) { atomic.AddInt32(a.cacheMisses, 1) return a.restConfig, nil } // NewPanickingAuthenticationInfoResolver creates a fake AuthenticationInfoResolver that panics
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 18 18:49:55 UTC 2022 - 2.7K bytes - Viewed (0) -
tests/integration/security/filebased_tls_origination/egress_gateway_origination_test.go
` ) func createGateway(t test.Failer, ctx resource.Context, appsNamespace namespace.Instance, serviceNamespace namespace.Instance, egressNs string, egressSvc string, egressLabel string, ) { ctx.ConfigIstio(). Eval(appsNamespace.Name(), map[string]string{ "ServerNamespace": serviceNamespace.Name(), "EgressNamespace": egressNs, "EgressLabel": egressLabel, "EgressService": egressSvc, }, Gateway).
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 11.9K bytes - Viewed (0) -
tests/integration/security/filebased_tls_origination/main_test.go
mountPath: /etc/certs/custom ` } func setupApps(ctx resource.Context, appNs namespace.Getter, serviceNs namespace.Getter, customCfg *[]echo.Config, ) error { appNamespace := appNs.Get() serviceNamespace := serviceNs.Get() var customConfig []echo.Config client := echo.Config{ Service: "client", Namespace: appNamespace, Ports: []echo.Port{}, Subsets: []echo.SubsetConfig{{ Version: "v1",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 7.3K bytes - Viewed (0) -
pilot/pkg/model/push_context_test.go
Resolution: tc.serviceResolution, Attributes: ServiceAttributes{Namespace: tc.serviceNamespace}, } // Intentionally use the externalService with the same name and namespace for test, though // these attributes don't matter. externalService := &Service{ Hostname: host.Name(fmt.Sprintf("%s.%s.svc.cluster.local", serviceName, tc.serviceNamespace)),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
} }), ValidArgsFunction: completion.ValidPodsNameArgs(ctx), } common.attach(cmd) return cmd } func servicesCmd(ctx cli.Context) *cobra.Command { var serviceNamespace string common := new(commonFlags) cmd := &cobra.Command{ Use: "service", Short: "Retrieves services for the specified Ztunnel pod.", Long: `Retrieve information about services for the Ztunnel instance.`,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 20:18:34 UTC 2024 - 22K bytes - Viewed (0)