- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 131 for It (0.05 sec)
-
pilot/pkg/serviceregistry/kube/controller/fake.go
if opts.MeshWatcher == nil { opts.MeshWatcher = mesh.NewFixedWatcher(&meshconfig.MeshConfig{TrustDomain: "cluster.local"}) } cleanupStop := false stop := opts.Stop if stop == nil { // If we created the stop, clean it up. Otherwise, caller is responsible cleanupStop = true stop = make(chan struct{}) } f := namespace.NewDiscoveryNamespacesFilter( kclient.New[*corev1.Namespace](opts.Client), opts.MeshWatcher, stop, )
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 4K bytes - Viewed (0) -
pkg/config/security/security.go
// If glob is not a supported path template and contains `{`, or `}` it is invalid. if strings.ContainsAny(glob, "{}") { return fmt.Errorf("invalid or unsupported path %s, found in %s."+ "Contains '{' or '}' beyond a supported path template", path, key) } // If glob contains `*`, is not a supported path template and // the path contains a supported path template, it is invalid.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 07 04:43:34 UTC 2024 - 9.4K bytes - Viewed (0) -
pkg/kube/krt/helpers.go
ao, ok := any(&a).(controllers.Object) if ok { k, _ := cache.MetaNamespaceKeyFunc(ao) return Key[O](k) } panic(fmt.Sprintf("Cannot get Key, got %T", a)) } // Named is a convenience struct. It is ideal to be embedded into a type that has a name and namespace, // and will automatically implement the various interfaces to return the name, namespace, and a key based on these two. type Named struct { Name, Namespace string
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/kube/krt/core.go
// but when using directly offer a more ergonomic API type Singleton[T any] interface { // Get returns the object, or nil if there is none. Get() *T // Register adds an event watcher to the object. Any time it changes, the handler will be called Register(f func(o Event[T])) Syncer AsCollection() Collection[T] } // Event represents a point in time change for a collection. type Event[T any] struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 6.9K bytes - Viewed (0) -
security/pkg/util/jwtutil_test.go
"_rpOrJ8dv-snrmO3LT9y-zaUnZqSceDC8skzStrJIRvsRkO8GEcoQd5VwDn-UVgOcqWb-S-vgSjdtwBsnGPXsh_I" + "NZCq3ftr0Qu8-IxsIjpMjhLmAGTH1bR324aqLTYhAXp6fk06Pe3T9stCY5acSeadKA" // firstPartyJwt is generated in a testing K8s cluster. It is the default service account JWT. // No expiration time. firstPartyJwt = "eyJhbGciOiJSUzI1NiIsImtpZCI6IiJ9." + "eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9u" +
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 16:07:11 UTC 2024 - 6K bytes - Viewed (0) -
tools/istio-iptables/pkg/cmd/root.go
If installed with 'cni.repair.deletePods=true', this pod should automatically be deleted and retry. Otherwise, this pod will need to be manually removed so that it is scheduled on a node with istio-cni running, allowing iptables rules to be established. `) handleErrorWithCode(msg, constants.ValidationErrorCode) } } }, } bindCmdlineFlags(cfg, cmd)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 17:36:41 UTC 2024 - 8.1K bytes - Viewed (0) -
security/pkg/server/ca/authenticate/kubeauth/kube_jwt.go
} } func (a *KubeJWTAuthenticator) AuthenticatorType() string { return KubeJWTAuthenticatorType } func isAllowedKubernetesAudience(a string) bool { // We do not use url.Parse() as it *requires* the protocol. a = strings.TrimPrefix(a, "https://") a = strings.TrimPrefix(a, "http://") return strings.HasPrefix(a, "kubernetes.default.svc") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 5K bytes - Viewed (0) -
tests/integration/pilot/gateway_conformance_test.go
) // GatewayConformanceInputs defines inputs to the gateway conformance test. // The upstream build requires using `testing.T` types, which we cannot pass using our framework. // To workaround this, we set up the inputs it TestMain. type GatewayConformanceInputs struct { Client kube.CLIClient Cleanup bool } var gatewayConformanceInputs GatewayConformanceInputs // defined in sigs.k8s.io/gateway-api/conformance/base/manifests.yaml
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 01 15:22:47 UTC 2024 - 5.7K bytes - Viewed (0) -
pkg/config/analysis/analyzers/injection/injection-image.go
injectionCMName = util.GetInjectorConfigMapName(nsRevision) } else { return true } // If the pod has been annotated with a custom sidecar, then ignore as // it always overrides the injector logic. if r.Metadata.Annotations["sidecar.istio.io/proxyImage"] != "" { return true } variant := resolver.ImageType(r)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun May 05 03:44:57 UTC 2024 - 4.9K bytes - Viewed (0) -
pkg/config/analysis/analyzers/injection/injection.go
c.Report(gvk.Namespace, m) return true } if injectionLabel != util.InjectionLabelEnableValue { // If legacy label has any value other than the enablement value, they are deliberately not injecting it, so ignore return true } injectedNamespaces[ns] = true return true }) c.ForEach(gvk.Pod, func(r *resource.Instance) bool { pod := r.Message.(*v1.PodSpec)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 5.5K bytes - Viewed (0)