Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 881 for naMespace (0.51 sec)

  1. pkg/kubelet/userns/userns_manager.go

    	lock sync.Mutex
    }
    
    // UserNamespace holds the configuration for the user namespace.
    type userNamespace struct {
    	// UIDs mappings for the user namespace.
    	UIDMappings []idMapping `json:"uidMappings"`
    	// GIDs mappings for the user namespace.
    	GIDMappings []idMapping `json:"gidMappings"`
    }
    
    // Pod user namespace mapping
    type idMapping struct {
    	// Required.
    	HostId uint32 `json:"hostId"`
    	// Required.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. plugin/pkg/auth/authorizer/node/node_authorizer_test.go

    			attrs:  authorizer.AttributesRecord{User: node0, ResourceRequest: true, Verb: "get", Resource: "leases", APIGroup: "coordination.k8s.io", Name: "node0", Namespace: "foo"},
    			expect: authorizer.DecisionNoOpinion,
    		},
    		{
    			name:   "disallowed create lease in namespace other than kube-node-lease - feature enabled",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 40.5K bytes
    - Viewed (0)
  3. tests/integration/pilot/analyze_test.go

    	framework.
    		NewTest(t).
    		RequiresSingleCluster().
    		Run(func(t framework.TestContext) {
    			g := NewWithT(t)
    
    			ns1 := namespace.NewOrFail(t, t, namespace.Config{
    				Prefix: "istioctl-analyze-1",
    				Inject: true,
    			})
    			ns2 := namespace.NewOrFail(t, t, namespace.Config{
    				Prefix: "istioctl-analyze-2",
    				Inject: true,
    			})
    
    			applyFileOrFail(t, ns1.Name(), gatewayFile)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    			var waypointAddress *workloadapi.GatewayAddress
    			// Endpoint does not have a real ObjectMeta, so make one
    			if !implicitEndpoints {
    				if waypoint := fetchWaypointForWorkload(ctx, Waypoints, Namespaces, metav1.ObjectMeta{
    					Name:      se.Name,
    					Namespace: se.Namespace,
    					Labels:    wle.Labels,
    				}); waypoint != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    	}
    
    	// try fetching the namespace-defined waypoint
    	namespace := ptr.OrEmpty[*v1.Namespace](krt.FetchOne[*v1.Namespace](ctx, Namespaces, krt.FilterKey(o.Namespace)))
    	// this probably should never be nil. How would o exist in a namespace we know nothing about? maybe edge case of starting the controller or ns delete?
    	if namespace != nil {
    		// toss isNone, we don't need to know /why/ we got nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. tools/bug-report/pkg/bugreport/bugreport.go

    	namespace, pod, container string,
    ) (string, *processlog.Stats, int, error) {
    	defer logRuntime(time.Now(), "Done getting logs only for %v/%v/%v", namespace, pod, container)
    
    	log.Infof("Getting logs for %s/%s/%s...", namespace, pod, container)
    	clog, err := runner.Logs(namespace, pod, container, false, config.DryRun)
    	if err != nil {
    		return "", nil, 0, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/config.go

    )
    
    // Config defines the options for creating an Echo component.
    // nolint: maligned
    type Config struct {
    	// Namespace of the echo Instance. If not provided, a default namespace "apps" is used.
    	Namespace namespace.Instance
    
    	// DefaultHostHeader overrides the default Host header for calls (`service.namespace.svc.cluster.local`)
    	DefaultHostHeader string
    
    	// Domain of the echo Instance. If not provided, a default will be selected.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. pilot/pkg/xds/proxy_dependencies_test.go

    				spiffe.Identity{TrustDomain: "cluster.local", Namespace: "namespace", ServiceAccount: "serviceaccount"}.String(),
    			},
    			sa:        "serviceaccount",
    			namespace: "namespace",
    			success:   true,
    		},
    		{
    			name: "no match namespace",
    			identity: []string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go

    					log.Debugf("Switch selected namespace policy to %s.%s (%v)", cfg.Name, cfg.Namespace, cfg.CreationTimestamp)
    					namespaceCfg = cfg
    				}
    			}
    		} else if cfg.Namespace != rootNamespace {
    			if workloadCfg == nil || cfg.CreationTimestamp.Before(&workloadCfg.CreationTimestamp) {
    				log.Debugf("Switch selected workload policy to %s.%s (%v)", cfg.Name, cfg.Namespace, cfg.CreationTimestamp)
    				workloadCfg = cfg
    			}
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 16:23:36 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers_test.go

    	fs.AssertExpectations(t)
    
    	// unlabelling the namespace should cause only one RemovePodFromMesh to happen
    	fs.On("RemovePodFromMesh",
    		ctx,
    		mock.Anything,
    	).Once().Return(nil)
    
    	// unlabel the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":null}}}`,
    		constants.DataplaneModeLabel))
    	_, err = client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top