Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for namespace_b (0.38 sec)

  1. istioctl/pkg/waypoint/waypoint.go

    }
    
    func getNamespace(kubeClient kube.CLIClient, ns string) (*corev1.Namespace, error) {
    	nsObj, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.Background(), ns, metav1.GetOptions{})
    	if errors.IsNotFound(err) {
    		return nil, fmt.Errorf("namespace: %s not found", ns)
    	} else if err != nil {
    		return nil, fmt.Errorf("failed to get namespace %s: %v", ns, err)
    	}
    	return nsObj, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. 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)
  3. pkg/test/framework/components/echo/deployment/builder.go

    	// Only the first per-cluster entry for a given config should have a non-nil ref.
    	refs []*echo.Instance
    	// namespaces caches namespaces by their prefix; used for converting Static namespace from configs into actual
    	// namespaces
    	namespaces map[string]namespace.Instance
    	// the set of injection templates for each cluster
    	templates map[string]sets.String
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. tests/integration/ambient/waypoint_test.go

          namespaces:
            from: Same
      - name: {{.Service}}-svc
        hostname: {{.Service}}.{{.Namespace}}.svc
        port: {{.Port}}
        protocol: HTTP
        allowedRoutes:
          namespaces:
            from: Same
      - name: {{.Service}}-namespace
        hostname: {{.Service}}.{{.Namespace}}
        port: {{.Port}}
        protocol: HTTP
        allowedRoutes:
          namespaces:
            from: Same
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. 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)
  6. pilot/pkg/config/kube/gateway/deploymentcontroller.go

    	dc.clients[gvr.ServiceAccount] = NewUntypedWrapper(dc.serviceAccounts)
    
    	dc.namespaces = kclient.NewFiltered[*corev1.Namespace](client, filter)
    	dc.namespaces.AddEventHandler(controllers.ObjectHandler(func(o controllers.Object) {
    		// TODO: make this more intelligent, checking if something we care about has changed
    		// requeue this namespace
    		for _, gw := range dc.gateways.List(o.GetName(), klabels.Everything()) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/analyzers_test.go

    		},
    		analyzer: &injection.ImageAnalyzer{},
    		expected: []message{
    			{msg.PodsIstioProxyImageMismatchInNamespace, "Namespace enabled-namespace"},
    			{msg.PodsIstioProxyImageMismatchInNamespace, "Namespace enabled-namespace-native"},
    			{msg.PodsIstioProxyImageMismatchInNamespace, "Namespace revision-namespace"},
    		},
    	},
    	{
    		name:       "portNameNotFollowConvention",
    		inputFiles: []string{"testdata/service-no-port-name.yaml"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/rbac/v1/types.go

    // RoleBinding references a role, but does not contain it.  It can reference a Role in the same namespace or a ClusterRole in the global namespace.
    // It adds who information via Subjects and namespace information by which namespace it exists in.  RoleBindings in a given
    // namespace only have effect in that namespace.
    type RoleBinding struct {
    	metav1.TypeMeta `json:",inline"`
    	// Standard object's metadata.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. src/syscall/exec_linux.go

    	CLONE_NEWCGROUP      = 0x02000000 // New cgroup namespace
    	CLONE_NEWUTS         = 0x04000000 // New utsname namespace
    	CLONE_NEWIPC         = 0x08000000 // New ipc namespace
    	CLONE_NEWUSER        = 0x10000000 // New user namespace
    	CLONE_NEWPID         = 0x20000000 // New pid namespace
    	CLONE_NEWNET         = 0x40000000 // New network namespace
    	CLONE_IO             = 0x80000000 // Clone io context
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. 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)
Back to top