- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 46 for enabled (0.15 sec)
-
istioctl/pkg/checkinject/checkinject.go
} else if nsLabel != "" { outMsg := fmt.Sprintf("Namespace label %s matches", nsLabel) if strings.Contains(nsLabel, "kubernetes.io/metadata.name") { outMsg += " (Automatic injection is enabled in all namespaces)." } return outMsg, true } else if podLabel != "" { return fmt.Sprintf("Pod label %s matches", podLabel), true } } else if nsMatched {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
istioctl/pkg/util/ambient/util.go
} switch t := obj.(type) { case *corev1.Pod: return t.GetAnnotations()[constants.AmbientRedirection] == constants.AmbientRedirectionEnabled case *corev1.Namespace: if t.GetLabels()["istio-injection"] == "enabled" { return false } if v, ok := t.GetLabels()[label.IoIstioRev.Name]; ok && v != "" { return false } return t.GetLabels()[constants.DataplaneModeLabel] == constants.DataplaneModeAmbient }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 1.7K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
"gateway": "10.0.0.1", "interface": 0 } ], "routes": [] }, "log_level": "debug", "cni_event_address": "%s", "ambient_enabled": %t, "kubernetes": { "k8s_api_root": "APIRoot", "kubeconfig": "testK8sConfig", "intercept_type": "%s", "node_name": "testNodeName", "exclude_namespaces": ["testExcludeNS"],
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate.go
cmd.PersistentFlags().StringSliceVar(&args.Filter, "filter", nil, "") _ = cmd.PersistentFlags().MarkHidden("filter") cmd.PersistentFlags().BoolVar(&args.EnableClusterSpecific, "cluster-specific", false, "If enabled, the current cluster will be checked for cluster-specific setting detection.") } func ManifestGenerateCmd(ctx cli.Context, rootArgs *RootArgs, mgArgs *ManifestGenerateArgs) *cobra.Command { return &cobra.Command{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.5K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
} tests := []struct { name string args args want bool }{ { name: "ambient mode enabled for namespace", args: args{ namespace: namespaceWithAmbientEnabledLabel, pod: unlabelledPod, }, want: true, }, { name: "ambient mode enabled for pod", args: args{ namespace: unlabelledNamespace, pod: podWithAmbientEnabledLabel, },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 4.9K bytes - Viewed (0) -
operator/cmd/mesh/install.go
return "", "", nil, fmt.Errorf("failed to check if component: %s is enabled or not: %v", string(c), err) } if enabled { enabledComponents = append(enabledComponents, name.UserFacingComponentName(c)) } } for _, c := range iop.Spec.Components.IngressGateways { if c.Enabled.GetValue() { enabledComponents = append(enabledComponents, name.UserFacingComponentName(name.IngressComponentName)) break } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 14:30:43 GMT 2024 - 15.5K bytes - Viewed (1) -
cni/pkg/config/config.go
ZtunnelUDSAddress string // Whether ambient is enabled AmbientEnabled bool // Whether ambient DNS capture is enabled AmbientDNSCapture bool // Whether ipv6 is enabled for ambient capture AmbientIPv6 bool } // RepairConfig struct defines the Istio CNI race repair configuration type RepairConfig struct { // Whether to enable CNI race repair Enabled bool // The node name that the CNI DaemonSet runs on
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 5.5K bytes - Viewed (0) -
cni/pkg/repair/repair.go
"istio.io/istio/pkg/kube" "istio.io/istio/pkg/log" ) var repairLog = log.RegisterScope("repair", "CNI race condition repair") func StartRepair(ctx context.Context, cfg config.RepairConfig) { if !cfg.Enabled { repairLog.Info("CNI repair is disable.") return } repairLog.Info("Start CNI race condition repair.") client, err := clientSetup() if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue May 23 17:08:31 GMT 2023 - 1.5K bytes - Viewed (0) -
istioctl/pkg/writer/compare/comparator.go
istiodDump := &configdump.Wrapper{} err := json.Unmarshal(resp, istiodDump) if err != nil { continue } c.istiod = istiodDump break } if c.istiod == nil { return nil, fmt.Errorf("unable to find config dump in Istiod responses") } envoyDump := &configdump.Wrapper{} err := json.Unmarshal(envoyResponse, envoyDump) if err != nil { return nil, err } c.envoy = envoyDump c.w = w
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 3.7K bytes - Viewed (1) -
cni/pkg/nodeagent/podcgroupns_other.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 781 bytes - Viewed (0)