Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for bots (0.15 sec)

  1. istioctl/pkg/proxyconfig/proxyconfig.go

    			}
    
    			var returnErr error
    			if rootCA1 == rootCA2 {
    				report := fmt.Sprintf("Both [%s.%s] and [%s.%s] have the identical ROOTCA, theoretically the connectivity between them is available",
    					podName1, podNamespace1, podName2, podNamespace2)
    				c.Println(report)
    				returnErr = nil
    			} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/kubeinject.go

    	var injectConfig inject.Config
    	err := yaml.Unmarshal(f, &injectConfig)
    	if err != nil || len(injectConfig.RawTemplates) == 0 {
    		// This must be a direct template, instead of an inject.Config. We support both formats
    		return map[string]string{inject.SidecarTemplateName: string(f)}, nil
    	}
    	cfg, err := inject.UnmarshalConfig(f)
    	if err != nil {
    		return nil, err
    	}
    	return cfg.RawTemplates, err
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  3. istioctl/pkg/util/configdump/listener.go

    	if err != nil {
    		return nil, err
    	}
    
    	dal := make([]*admin.ListenersConfigDump_DynamicListener, 0)
    	for _, l := range listenerDump.DynamicListeners {
    		// If a listener was reloaded, it would contain both the active and draining state
    		// delete the draining state for proper comparison
    		l.DrainingState = nil
    		if l.ActiveState != nil {
    			dal = append(dal, l)
    		}
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 03 08:41:32 GMT 2022
    - 2.5K bytes
    - Viewed (1)
  4. cni/pkg/repair/repaircontroller.go

    	}
    
    	repairLog.Infof("Labeling pod %s/%s with label %s=%s", pod.Namespace, pod.Name, c.cfg.LabelKey, c.cfg.LabelValue)
    
    	patchBytes := fmt.Sprintf(`{"metadata":{"labels":{%q:%q}}}`, c.cfg.LabelKey, c.cfg.LabelValue)
    	// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    	_, err := c.client.Kube().CoreV1().Pods(pod.Namespace).Patch(context.Background(), pod.Name, types.MergePatchType,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/generate_test.go

    		if err != nil {
    			t.Fatalf("could not parse webhook from generated YAML: %s", webhookYAML)
    		}
    		wh := whObject.(*admitv1.MutatingWebhookConfiguration)
    
    		// expect both namespace.sidecar-injector.istio.io and object.sidecar-injector.istio.io webhooks
    		if len(wh.Webhooks) != tc.numWebhooks {
    			t.Errorf("expected %d webhook(s) in MutatingWebhookConfiguration, found %d",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/tag.go

      kubectl label ns test-ns istio.io/rev=prod
    
      # Change the revision tag to reference the "1-8-1" revision
      istioctl tag set prod --revision 1-8-1 --overwrite
    
      # Make revision "1-8-1" the default revision, both resulting in that revision handling injection for "istio-injection=enabled"
      # and validating resources cluster-wide
      istioctl tag set default --revision 1-8-1
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  7. cni/pkg/util/podutil.go

    	_, err := client.CoreV1().
    		Pods(pod.Namespace).
    		Patch(
    			context.Background(),
    			pod.Name,
    			types.MergePatchType,
    			annotationPatch,
    			metav1.PatchOptions{},
    			// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    			"status",
    		)
    	return err
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. cni/pkg/plugin/plugin.go

    			msg := fmt.Sprintf("istio-cni panicked during cmdAdd: %v\n%v", e, string(debug.Stack()))
    			if err != nil {
    				// If we're recovering and there was also an error, then we need to
    				// present both.
    				msg = fmt.Sprintf("%s: %v", msg, err)
    			}
    			err = fmt.Errorf(msg)
    		}
    		if err != nil {
    			log.Errorf("istio-cni cmdAdd error: %v", err)
    		}
    	}()
    
    	conf, err := parseConfig(args.StdinData)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  9. cni/pkg/ipset/ipset.go

    	clearEntriesWithIP(name string, ip netip.Addr) error
    	listEntriesByIP(name string) ([]netip.Addr, error)
    }
    
    // TODO this should actually create v6 and v6 subsets of type `hash:ip`, add them both to a
    // superset of type `list:set` - we can then query the superset directly in iptables (with the same rule),
    // and iptables will be smart enough to pick the correct underlying set (v4 or v6, based on context),
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig_test.go

    			execClientConfig: loggingConfig,
    			args:             strings.Split("log details-v1-5b7f94f9bc-wp5tb --level http:yyy", " "),
    			expectedString:   "unrecognized logging level: yyy",
    			wantException:    true,
    		},
    		{ // both logger name and logging level invalid
    			execClientConfig: loggingConfig,
    			args:             strings.Split("log details-v1-5b7f94f9bc-wp5tb --level xxx:yyy", " "),
    			expectedString:   "unrecognized logger name: xxx",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top