Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,714 for namespace1 (0.19 sec)

  1. pilot/pkg/config/kube/gateway/conversion.go

    		return nil
    	}
    	namespaces := []string{}
    	for _, ns := range r.Namespaces {
    		if ls.Matches(toNamespaceSet(ns.Name, ns.Labels)) {
    			namespaces = append(namespaces, ns.Name)
    		}
    	}
    	// Ensure stable order
    	sort.Strings(namespaces)
    	return namespaces
    }
    
    func nilOrEqual(have *string, expected string) bool {
    	return have == nil || *have == expected
    }
    
    func humanReadableJoin(ss []string) string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  2. cluster/addons/kube-network-policies/kube-network-policies-rbac.yaml

    kind: ClusterRole
    apiVersion: rbac.authorization.k8s.io/v1
    metadata:
      name: system:network-policies
      namespace: kube-system
      labels:
        addonmanager.kubernetes.io/mode: Reconcile
    rules:
      - apiGroups: [""]
        resources:
          - pods
          - nodes
          - namespaces
        verbs:
          - get
          - watch
          - list
      # Watch for changes to Kubernetes NetworkPolicies.
      - apiGroups: ["networking.k8s.io"]
        resources:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 21 10:01:31 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/httproute_test.go

    	}
    }
    
    func buildHTTPServiceWithLabels(hostname string, v visibility.Instance, ip, namespace string, labels map[string]string, ports ...int) *model.Service {
    	svc := buildHTTPService(hostname, v, ip, namespace, ports...)
    	svc.Attributes.Labels = labels
    	return svc
    }
    
    func buildHTTPService(hostname string, v visibility.Instance, ip, namespace string, ports ...int) *model.Service {
    	service := &model.Service{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  4. pilot/pkg/model/authorization.go

    type AuthorizationPolicies struct {
    	// Maps from namespace to the Authorization policies.
    	NamespaceToPolicies map[string][]AuthorizationPolicy `json:"namespace_to_policies"`
    
    	// The name of the root namespace. Policy in the root namespace applies to workloads in all namespaces.
    	RootNamespace string `json:"root_namespace"`
    }
    
    // GetAuthorizationPolicies returns the AuthorizationPolicies for the given environment.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. pkg/kubelet/server/stats/volume_stat_calculator_test.go

    			Name:      pvcClaimName0,
    			Namespace: namespace0,
    		},
    		FsStats:           expectedFSStats(),
    		VolumeHealthStats: expectedVolumeHealthStats(),
    	})
    	// // Verify 'vol2' has a PVC reference
    	assert.Contains(t, append(vs.EphemeralVolumes, vs.PersistentVolumes...), kubestats.VolumeStats{
    		Name: vol2,
    		PVCRef: &kubestats.PVCReference{
    			Name:      pvcClaimName1,
    			Namespace: namespace0,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go

    	for _, namespace := range ignoredNamespaces.UnsortedList() {
    		// Create namespace in ignored list, make sure its not created
    		createNamespace(t, client.Kube(), namespace, newData)
    		// Configmap in that namespace should not do anything either
    		createConfigMap(t, client.Kube(), "not-root", namespace, "k")
    		expectConfigMapNotExist(t, nc.configmaps, namespace)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/controller_test.go

    			"foo": "bar",
    		},
    	}}
    	ns2 := &v1.Namespace{ObjectMeta: metav1.ObjectMeta{
    		Name: "ns2",
    		Labels: map[string]string{
    			"allowed": "true",
    		},
    	}}
    	ns := clienttest.Wrap(t, c.namespaces)
    
    	ns.Create(ns1)
    	s.AssertEmpty(t, time.Millisecond*10)
    
    	ns.Create(ns2)
    	s.AssertEmpty(t, time.Millisecond*10)
    
    	ns1.Annotations = map[string]string{"foo": "bar"}
    	ns.Update(ns1)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 16:47:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_dispatcher.go

    				paramKind.String())
    		}
    
    		// Set up cluster-scoped, or namespaced access to the params
    		// "default" if not provided, and paramKind is namespaced
    		paramStore = paramInformer.Lister()
    		if paramScope.Name() == meta.RESTScopeNameNamespace {
    			paramsNamespace := namespace
    			if len(paramRef.Namespace) > 0 {
    				paramsNamespace = paramRef.Namespace
    			} else if len(paramsNamespace) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/flowcontrol.apiserver.k8s.io.v1beta3.FlowSchema.yaml

        - apiGroups:
          - apiGroupsValue
          clusterScope: true
          namespaces:
          - namespacesValue
          resources:
          - resourcesValue
          verbs:
          - verbsValue
        subjects:
        - group:
            name: nameValue
          kind: kindValue
          serviceAccount:
            name: nameValue
            namespace: namespaceValue
          user:
            name: nameValue
    status:
      conditions:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/flowcontrol.apiserver.k8s.io.v1.FlowSchema.json

                  "apiGroupsValue"
                ],
                "resources": [
                  "resourcesValue"
                ],
                "clusterScope": true,
                "namespaces": [
                  "namespacesValue"
                ]
              }
            ],
            "nonResourceRules": [
              {
                "verbs": [
                  "verbsValue"
                ],
                "nonResourceURLs": [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top