Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,489 for nameslice (0.24 sec)

  1. pilot/pkg/model/sidecar.go

    	if sc == nil {
    		return true
    	}
    
    	// This kind of config will trigger a change if made in the root namespace or the same namespace
    	if clusterScopedKnownConfigTypes.Contains(config.Kind) {
    		return config.Namespace == rootNs || config.Namespace == sc.Namespace
    	}
    
    	// This kind of config is unknown to sidecarScope.
    	if _, f := sidecarScopedKnownConfigTypes[config.Kind]; !f {
    		return true
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  2. src/html/template/template.go

    	if t == nil {
    		return nil
    	}
    	t.nameSpace.mu.Lock()
    	defer t.nameSpace.mu.Unlock()
    	if t.nameSpace.escaped {
    		return fmt.Errorf("html/template: cannot Parse after Execute")
    	}
    	return nil
    }
    
    // escape escapes all associated templates.
    func (t *Template) escape() error {
    	t.nameSpace.mu.Lock()
    	defer t.nameSpace.mu.Unlock()
    	t.nameSpace.escaped = true
    	if t.escapeErr == nil {
    		if t.Tree == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:00:46 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. pkg/kube/client.go

    		ns := obj.GetNamespace()
    		if ns == "" {
    			ns = namespace
    		} else if namespace != "" && ns != namespace {
    			return nil, nil, fmt.Errorf("object %v/%v provided namespace %q but apply called with %q", gvk, obj.GetName(), ns, namespace)
    		}
    		// namespaced resources should specify the namespace
    		dr = c.dynamic.Resource(mapping.Resource).Namespace(ns)
    	} else {
    		// for cluster-wide resources
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  4. security/pkg/k8s/configutil_test.go

    	})
    }
    
    // nolint: unparam
    func createConfigMap(namespace, configName string, data map[string]string) *v1.ConfigMap {
    	return &v1.ConfigMap{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      configName,
    			Namespace: namespace,
    		},
    		Data: data,
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 21:58:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. tests/integration/helm/upgrade/util.go

    		})
    
    		// setup istio.io/rev=latest for the default-2 namespace
    		_, newClient, newServer := sanitycheck.SetupTrafficTest(t, t, latestRevisionTag)
    		sanitycheck.RunTrafficTestClientServer(t, newClient, newServer)
    
    		// now check that we are compatible with N-1 proxy with N proxy between a client
    		// in default-1 namespace and a server in the default-2 namespace, respectively
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. pkg/controller/resourceclaim/controller.go

    		return fmt.Errorf("unexpected key: %s", key)
    	}
    	prefix, object := key[0:sep+1], key[sep+1:]
    	namespace, name, err := cache.SplitMetaNamespaceKey(object)
    	if err != nil {
    		return err
    	}
    
    	switch prefix {
    	case podKeyPrefix:
    		return ec.syncPod(ctx, namespace, name)
    	case claimKeyPrefix:
    		return ec.syncClaim(ctx, namespace, name)
    	default:
    		return fmt.Errorf("unexpected key prefix: %s", prefix)
    	}
    
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. pkg/config/validation/virtualservice_test.go

    					Delegate: &networking.Delegate{
    						Name:      "test",
    						Namespace: "test",
    					},
    				}},
    			},
    			valid: true,
    		},
    		{
    			name: "root applies to sidecar with delegate",
    			in: &networking.VirtualService{
    				Hosts: []string{"foo.bar"},
    				Http: []*networking.HTTPRoute{{
    					Delegate: &networking.Delegate{
    						Name:      "test",
    						Namespace: "test",
    					},
    				}},
    			},
    			valid: true,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 15:33:55 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. pkg/kubelet/token/token_manager_test.go

    					namespace: "fake-namespace-3",
    					tr: authenticationv1.TokenRequest{
    						Spec: authenticationv1.TokenRequestSpec{
    							BoundObjectRef: &authenticationv1.BoundObjectReference{
    								UID:  "fake-uid-3",
    								Name: "fake-name-3",
    							},
    						},
    					},
    					shouldFail: false,
    				},
    				{
    					name:      "fake-name-4",
    					namespace: "fake-namespace-4",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 04 00:16:47 UTC 2022
    - 16.2K bytes
    - Viewed (0)
  9. pkg/volume/projected/projected.go

    			secretapi, err := s.plugin.getSecret(s.pod.Namespace, source.Secret.Name)
    			if err != nil {
    				if !(errors.IsNotFound(err) && optional) {
    					klog.Errorf("Couldn't get secret %v/%v: %v", s.pod.Namespace, source.Secret.Name, err)
    					errlist = append(errlist, err)
    					continue
    				}
    				secretapi = &v1.Secret{
    					ObjectMeta: metav1.ObjectMeta{
    						Namespace: s.pod.Namespace,
    						Name:      source.Secret.Name,
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. pilot/pkg/config/kube/ingress/controller.go

    		Name:             item.Name + "-" + "virtualservice",
    		Namespace:        item.Namespace,
    		GroupVersionKind: gvk.VirtualService,
    		// Set this label so that we do not compare configs and just push.
    		Labels: map[string]string{constants.AlwaysPushLabel: "true"},
    	}
    	gatewaymetadata := config.Meta{
    		Name:             item.Name + "-" + "gateway",
    		Namespace:        item.Namespace,
    		GroupVersionKind: gvk.Gateway,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top