- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 190 for nsName (2.58 sec)
-
pilot/pkg/xds/proxy_dependencies_test.go
configs: sets.New(model.ConfigKey{Kind: k, Name: name, Namespace: nsName}), want: true, }, Case{ // invalid name name: fmt.Sprintf("%s unmatched config for sidecar", k.String()), proxy: sidecar, configs: sets.New(model.ConfigKey{Kind: k, Name: name + invalidNameSuffix, Namespace: nsName}), want: false, }) } sidecarNamespaceScopeTypes := []kind.Kind{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 13.5K bytes - Viewed (0) -
plugin/pkg/admission/podtolerationrestriction/admission.go
} func (p *Plugin) getNamespaceDefaultTolerations(nsName string) ([]api.Toleration, error) { ns, err := p.getNamespace(nsName) if err != nil { return nil, err } return extractNSTolerations(ns, NSDefaultTolerations) } func (p *Plugin) getNamespaceTolerationsWhitelist(nsName string) ([]api.Toleration, error) { ns, err := p.getNamespace(nsName) if err != nil { return nil, err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 29 20:07:59 UTC 2020 - 8.3K bytes - Viewed (0) -
pkg/config/analysis/analyzers/injection/image-auto.go
c.Report(gvk.Deployment, m) } return true }) } func hasAutoImage(spec *v1.PodSpec) bool { for _, c := range spec.Containers { if c.Name == istioProxyContainerName && c.Image == manualInjectionImage { return true } } return false } func getNamespaceLabels(c analysis.Context, nsName string) map[string]string { if nsName == "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 01 01:34:15 UTC 2023 - 4K bytes - Viewed (0) -
pkg/controller/tainteviction/taint_eviction.go
} ref := &v1.ObjectReference{ APIVersion: "v1", Kind: "Pod", Name: nsName.Name, Namespace: nsName.Namespace, } tc.recorder.Eventf(ref, v1.EventTypeNormal, "TaintManagerEviction", "Marking for deletion Pod %s", nsName.String()) } func (tc *Controller) emitCancelPodDeletionEvent(nsName types.NamespacedName) { if tc.recorder == nil { return } ref := &v1.ObjectReference{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 19.9K bytes - Viewed (0) -
istioctl/pkg/completion/completion.go
} client, err := ctx.CLIClient() if err != nil { return nil, cobra.ShellCompDirectiveNoFileComp } nsName, err := getNamespacesName(client, toComplete) if err != nil { return nil, cobra.ShellCompDirectiveNoFileComp } return nsName, cobra.ShellCompDirectiveNoFileComp }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 4.9K bytes - Viewed (0) -
pilot/pkg/model/policyattachment_test.go
expected: true, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { test.SetForTest(t, &features.EnableSelectorBasedK8sGatewayPolicy, tt.enableSelectorPolicies) nsName := types.NamespacedName{Name: "policy1", Namespace: "default"} matcher := tt.selection.ShouldAttachPolicy(mockKind, nsName, tt.policy) if matcher != tt.expected {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 8.3K bytes - Viewed (0) -
plugin/pkg/admission/podnodeselector/admission.go
if err != nil { return labels.Set{}, err } if labels.Conflicts(selector, labelsMap) { nsName := namespace.ObjectMeta.Name return labels.Set{}, fmt.Errorf("%s annotations' node label selectors conflict", nsName) } selector = labels.Merge(selector, labelsMap) found = true } } } if !found {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 8.3K bytes - Viewed (0) -
pilot/pkg/model/virtualservice.go
if conflict { log.Warnf("HTTPMatchRequests conflict: root route %s, delegate route %s", root.Name, delegate.Name) return nil } delegate.Match = merged if delegate.Name == "" { delegate.Name = root.Name } else if root.Name != "" { delegate.Name = root.Name + "-" + delegate.Name } if delegate.Rewrite == nil { delegate.Rewrite = root.Rewrite } if delegate.DirectResponse == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 11:17:03 UTC 2024 - 17.4K bytes - Viewed (0) -
pilot/pkg/model/sidecar_test.go
"b": {allHosts: []host.Name{wildcardService}, exactHosts: sets.New[host.Name]()}, }, services: []*Service{serviceA8000}, expected: []*Service{}, namespace: "a", }, { name: "multiple hosts selected same service", listenerHosts: map[string]hostClassification{ "a": {allHosts: []host.Name{wildcardService}, exactHosts: sets.New[host.Name]()},
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/controller/namespace/deletion/namespaced_resources_deleter.go
func (d *namespacedResourcesDeleter) Delete(ctx context.Context, nsName string) error { // Multiple controllers may edit a namespace during termination // first get the latest state of the namespace before proceeding // if the namespace was deleted already, don't do anything namespace, err := d.nsClient.Get(ctx, nsName, metav1.GetOptions{}) if err != nil { if errors.IsNotFound(err) { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 07:34:23 UTC 2023 - 25.2K bytes - Viewed (0)