- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 5,965 for nameslice (0.13 sec)
-
pkg/config/analysis/analyzers/testdata/injection-image-distroless.yaml
# Namespace 'enabled-namespace' has istio injection enabled, so will be enforced. apiVersion: v1 kind: Namespace metadata: labels: istio-injection: enabled name: enabled-namespace --- # Namespace 'enabled-namespace-2' has istio injection enabled, so will be enforced. apiVersion: v1 kind: Namespace metadata: labels: istio-injection: enabled name: enabled-namespace-2 ---
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Nov 28 02:55:12 UTC 2023 - 1.4K 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) -
pkg/registry/core/namespace/strategy.go
newNamespace := obj.(*api.Namespace) oldNamespace := old.(*api.Namespace) newNamespace.Spec.Finalizers = oldNamespace.Spec.Finalizers newNamespace.Status = oldNamespace.Status } // Validate validates a new namespace. func (namespaceStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { namespace := obj.(*api.Namespace) return validation.ValidateNamespace(namespace) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 07 08:51:17 UTC 2021 - 8.3K bytes - Viewed (0) -
pkg/registry/rbac/validation/rule.go
clusterRoleBindings []*rbacv1.ClusterRoleBinding } func (r *StaticRoles) GetRole(namespace, name string) (*rbacv1.Role, error) { if len(namespace) == 0 { return nil, errors.New("must provide namespace when getting role") } for _, role := range r.roles { if role.Namespace == namespace && role.Name == name { return role, nil } } return nil, errors.New("role not found") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 02 16:51:16 UTC 2020 - 11.6K 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) -
istioctl/pkg/injector/injector-list.go
func printNS(writer io.Writer, namespaces []corev1.Namespace, hooks []admitv1.MutatingWebhookConfiguration, allPods map[resource.Namespace][]corev1.Pod, ) error { outputCount := 0 w := new(tabwriter.Writer).Init(writer, 0, 8, 1, ' ', 0) for _, namespace := range namespaces { revision := getInjectedRevision(&namespace, hooks) podCount := podCountByRevision(allPods[resource.Namespace(namespace.Name)], revision) if len(podCount) == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 04 03:08:06 UTC 2024 - 10.4K bytes - Viewed (0) -
pkg/test/framework/components/echo/namespacedname.go
"sort" "strings" "istio.io/istio/pkg/test/framework/components/namespace" "istio.io/istio/pkg/util/sets" ) // NamespacedName represents the full name of a service. type NamespacedName struct { // Namespace of the echo Instance. If not provided, a default namespace "apps" is used. Namespace namespace.Instance // Name of the service within the Namespace. Name string }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 13 23:42:29 UTC 2022 - 2.6K 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/test/helm/helm.go
func (h *Helm) DeleteChart(name, namespace string) error { command := fmt.Sprintf("helm delete %s --namespace %s --kubeconfig %s", name, namespace, h.kubeConfig) _, err := execCommand(command) return err } // Template runs the template command and applies the generated file with kubectl
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 23 19:25:43 UTC 2023 - 3.3K bytes - Viewed (0) -
pkg/config/analysis/analyzers/testdata/injection-image-distroless-no-meshconfig.yaml
apiVersion: v1 kind: Namespace metadata: labels: istio-injection: enabled name: ns-override --- apiVersion: v1 kind: Namespace metadata: labels: istio-injection: enabled name: workload-override --- # ProxyConfig for root namespace apiVersion: networking.istio.io/v1beta1 kind: ProxyConfig metadata: name: valid-example-pc namespace: istio-system --- # ProxyConfig for ns-override namespace
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 12 15:31:54 UTC 2023 - 2.2K bytes - Viewed (0)