- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 65 for Gaebel (0.16 sec)
-
istioctl/pkg/checkinject/checkinject_test.go
}, }, { name: "both default label injection", pod: podTestObject("test1", "test1", "true", ""), ns: nsTestObject("test1", "enabled", ""), expectedMessages: []webhookAnalysis{ { Name: "istio-sidecar-injector", Revision: "default", Injected: true, Reason: "Namespace label istio-injection=enabled matches, and pod label sidecar.istio.io/inject=true matches", }, {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 10.6K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
}, }, }, expectedRevision: "test-anno", }, { name: "has both rev label and annotation, use label", pod: &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{ label.IoIstioRev.Name: "test-label", // don't care about the label }, Annotations: map[string]string{ annotation.SidecarStatus.Name: `{"revision":"test-anno"}`, },
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 2.9K bytes - Viewed (0) -
cni/pkg/cmd/root.go
registerStringParameter(constants.RepairLabelKey, "cni.istio.io/uninitialized", "The key portion of the label which will be set by the race repair if label pods is true") registerStringParameter(constants.RepairLabelValue, "true", "The value portion of the label which will be set by the race repair if label pods is true")
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 12.5K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
injector := getInjector(namespace, hooks) if injector != nil { return injector.ObjectMeta.GetLabels()[label.IoIstioRev.Name] } newRev := namespace.ObjectMeta.GetLabels()[label.IoIstioRev.Name] oldLabel, ok := namespace.ObjectMeta.GetLabels()[analyzer_util.InjectionLabelName] // If there is no istio-injection=disabled and no istio.io/rev, the namespace isn't injected
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/tag/generate.go
whLabels = maps.MergeCopy(whLabels, curLabels) whLabels = maps.MergeCopy(whLabels, customLabels) if userManaged { for label := range whLabels { if strings.Contains(label, operatorNamespace) { delete(whLabels, label) } } } return whLabels } // generateMutatingWebhook renders a mutating webhook configuration from the given tagWebhookConfig.
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 13.2K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
} // We test the cross product namespace and pod labels: // 1. revision label (istio.io/rev) // 2. inject label true (istio-injection on namespace, sidecar.istio.io/inject on pod) // 3. inject label false // 4. inject label true and revision label // 5. inject label false and revision label // 6. no label // However, we filter out all the disable cases, leaving us with a reasonable number of cases
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Thu Feb 22 08:32:23 GMT 2024 - 42K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug_test.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/cli-runtime/pkg/resource" "k8s.io/client-go/rest/fake" cmdtesting "k8s.io/kubectl/pkg/cmd/testing" cmdutil "k8s.io/kubectl/pkg/cmd/util" "istio.io/api/label" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/clioptions" "istio.io/istio/istioctl/pkg/multixds" "istio.io/istio/istioctl/pkg/xds" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/test/util/assert"
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 15 08:28:50 GMT 2024 - 4.5K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
// We are not going to start the server, so the sockpath is irrelevant pluginServer := startCniPluginServer(ctx, "/tmp/test.sock", handlers, dpServer) // label the namespace labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`, constants.DataplaneMode, constants.DataplaneModeAmbient)) _, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Feb 02 08:18:40 GMT 2024 - 5.4K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
lkv := strings.Split(l, "=") if len(lkv) != 2 { panic("label must have format key=value") } if !hasLabel(obj, lkv[0], lkv[1]) { hasAll = false break } } if hasAll { ret.append(obj) } } return ret } // HasLabel reports whether 0 has the given label. func hasLabel(o *object.K8sObject, label, value string) bool {
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
cni/pkg/repair/monitoring.go
package repair import ( "istio.io/istio/pkg/monitoring" ) var ( typeLabel = monitoring.CreateLabel("type") deleteType = "delete" repairType = "repair" labelType = "label" resultLabel = monitoring.CreateLabel("result") resultSuccess = "success" resultSkip = "skip" resultFail = "fail" podsRepaired = monitoring.NewSum( "istio_cni_repair_pods_repaired_total",
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed Dec 20 22:14:13 GMT 2023 - 1K bytes - Viewed (0)