- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,878 for nameslice (0.14 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount/util.go
func MakeGroupNames(namespace string) []string { return []string{ AllServiceAccountsGroup, MakeNamespaceGroupName(namespace), } } // MakeNamespaceGroupName returns the name of the group all service accounts in the namespace are included in func MakeNamespaceGroupName(namespace string) string { return ServiceAccountGroupPrefix + namespace }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 05 10:24:31 UTC 2024 - 8.1K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/types.gen.go
Generation: obj.Generation, }, Spec: obj, } }, gvk.Namespace: func(r runtime.Object) config.Config { obj := r.(*k8sioapicorev1.Namespace) return config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.Namespace, Name: obj.Name, Namespace: obj.Namespace, Labels: obj.Labels, Annotations: obj.Annotations,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 17:37:32 UTC 2024 - 62.2K 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/serviceregistry/serviceregistry_test.go
} labels := map[string]string{ "app": "foo", } namespace := "namespace" serviceEntry := config.Config{ Meta: config.Meta{ Name: "service-entry", Namespace: namespace, GroupVersionKind: gvk.ServiceEntry, Domain: "cluster.local", }, Spec: &networking.ServiceEntry{ Hosts: []string{"service.namespace.svc.cluster.local"}, Ports: []*networking.ServicePort{port},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 51.2K bytes - Viewed (0) -
pilot/pkg/model/sidecar_test.go
}{ {"Just wildcard", []string{"*/*"}, allContains(nsName, true)}, {"Namespace and wildcard", []string{"ns/*", "*/*"}, allContains(nsName, true)}, {"Just Namespace", []string{"ns/*"}, allContains(nsName, true)}, {"Wrong Namespace", []string{"ns/*"}, allContains("other-ns", false)}, {"No Sidecar", nil, allContains("ns", true)}, {"No Sidecar Other Namespace", nil, allContains("other-ns", false)},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 07 09:38:49 UTC 2024 - 74.3K bytes - Viewed (0) -
pilot/pkg/model/authorization_test.go
selectionOpts: WorkloadPolicyMatcher{ Namespace: "istio-config", }, configs: []config.Config{ newConfig("authz-1", "istio-config", policy), }, wantAllow: []AuthorizationPolicy{ { Name: "authz-1", Namespace: "istio-config", Spec: policy, }, }, }, { name: "root namespace and config namespace",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 12.7K bytes - Viewed (0) -
pkg/kube/krt/collection_test.go
tt.WaitUnordered("add/namespace/name") pc.Delete(pod.Name, pod.Namespace) assert.EventuallyEqual(t, fetcherSorted(SimplePods), nil) tt.WaitUnordered("delete/namespace/name") } func TestCollectionInitialState(t *testing.T) { c := kube.NewFakeClient( &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod", Namespace: "namespace", Labels: map[string]string{"app": "foo"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 14.6K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/multicluster/inconsistent-service-1.yaml
apiVersion: v1 kind: Service metadata: name: my-service namespace: my-namespace spec: selector: app: my-service ports: - name: tcp-foo protocol: TCP port: 8080 targetPort: 8080 --- # Service with extra port in cluster2, should generate warning. apiVersion: v1 kind: Service metadata: name: extra-port namespace: my-namespace spec: selector: app: my-service ports:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 1.6K 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) -
istioctl/pkg/cli/option.go
"Istio system namespace") return r } // Namespace returns the namespace flag value. func (r *RootFlags) Namespace() string { return *r.namespace } // IstioNamespace returns the istioNamespace flag value. func (r *RootFlags) IstioNamespace() string { return *r.istioNamespace } // DefaultNamespace returns the default namespace to use. func (r *RootFlags) DefaultNamespace() string {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 18:01:27 UTC 2024 - 3.1K bytes - Viewed (0)