- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 6,082 for naMespace (0.23 sec)
-
pkg/controller/garbagecollector/operations.go
resource, namespaced, err := gc.apiResource(item.APIVersion, item.Kind) if err != nil { return nil, err } namespace := resourceDefaultNamespace(namespaced, item.Namespace) if namespaced && len(namespace) == 0 { // the type is namespaced, but we have no namespace coordinate.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 13:37:56 UTC 2023 - 4.9K bytes - Viewed (0) -
tools/bug-report/pkg/cluster/cluster_test.go
"tested namespace not skip 2", &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Namespace: "in-namespace1", }, }, &config2.BugReportConfig{ Include: []*config2.SelectionSpec{ { Namespaces: []string{"in*"}, }, }, Exclude: []*config2.SelectionSpec{ { Namespaces: []string{"ex*"}, }, }, }, false, }, { "tested namespace not skip 3",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 06 17:23:32 UTC 2023 - 11K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
return fmt.Errorf("failed to create Kubernetes client: %v", err) } ns := ctx.NamespaceOrDefault(ctx.Namespace()) // If a user decides to enroll their namespace with a waypoint, verify that they have labeled their namespace as ambient. // If they don't, the user will be warned and be presented with the command to label their namespace as ambient if they // choose to do so. //
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 15:59:33 UTC 2024 - 16.4K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion_test.go
}, { Attributes: model.ServiceAttributes{ Namespace: "group-namespace1", }, Ports: ports, Hostname: "httpbin.group-namespace1.svc.domain.suffix", }, { Attributes: model.ServiceAttributes{ Namespace: "group-namespace2", }, Ports: ports, Hostname: "httpbin.group-namespace2.svc.domain.suffix", }, { Attributes: model.ServiceAttributes{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 20:24:52 UTC 2024 - 34.9K bytes - Viewed (0) -
tests/integration/security/util/framework.go
// Namespace1 is used as the default namespace for reachability tests and other tests which can reuse the same config for echo instances Namespace1 namespace.Instance // Namespace2 is used by most authorization test cases within authorization_test.go Namespace2 namespace.Instance // Namespace3 is used by TestAuthorization_Conditions and there is one C echo instance deployed
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 8.4K bytes - Viewed (0) -
pkg/controller/namespace/namespace_controller.go
AddFunc: func(obj interface{}) { namespace := obj.(*v1.Namespace) namespaceController.enqueueNamespace(namespace) }, UpdateFunc: func(oldObj, newObj interface{}) { namespace := newObj.(*v1.Namespace) namespaceController.enqueueNamespace(namespace) }, }, resyncPeriod, ) namespaceController.lister = namespaceInformer.Lister() namespaceController.listerSynced = namespaceInformer.Informer().HasSynced
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 7.6K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/model.go
func (refs AllowedReferences) SecretAllowed(resourceName string, namespace string) bool { p, err := creds.ParseResourceName(resourceName, "", "", "") if err != nil { log.Warnf("failed to parse resource name %q: %v", resourceName, err) return false } from := Reference{Kind: gvk.KubernetesGateway, Namespace: k8s.Namespace(namespace)} to := Reference{Kind: gvk.Secret, Namespace: k8s.Namespace(p.Namespace)} allow := refs[from][to] if allow == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:09 UTC 2024 - 4K bytes - Viewed (0) -
pkg/registry/core/namespace/strategy.go
newNamespace := obj.(*api.Namespace) oldNamespace := old.(*api.Namespace) newNamespace.Spec.Finalizers = oldNamespace.Spec.Finalizers newNamespace.Status = oldNamespace.Status } // Validate validates a new namespace. func (namespaceStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { namespace := obj.(*api.Namespace) return validation.ValidateNamespace(namespace) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 07 08:51:17 UTC 2021 - 8.3K bytes - Viewed (0) -
pkg/registry/rbac/validation/rule_test.go
namespace: "namespace1", appliesTo: true, index: 1, testCase: "multiple subjects, one that match group, should ignore namespace", }, { subjects: []rbacv1.Subject{ {Kind: rbacv1.UserKind, Name: "barfoo"}, {Kind: rbacv1.GroupKind, Name: "foobar"}, {Kind: rbacv1.ServiceAccountKind, Namespace: "kube-system", Name: "default"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 7.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/namespacecontroller.go
ns := o.Namespace if ns == "" { // For Namespace object, it will not have o.Namespace field set ns = o.Name } meta := metav1.ObjectMeta{ Name: CACertNamespaceConfigMap, Namespace: ns, Labels: configMapLabel, } return k8s.InsertDataToConfigMap(nc.configmaps, meta, nc.caBundleWatcher.GetCABundle()) } // On namespace change, update the config map.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Feb 28 16:41:38 UTC 2024 - 5.4K bytes - Viewed (0)