- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for isn (0.12 sec)
-
istioctl/pkg/tag/util.go
if len(whs) > 1 { return fmt.Errorf("expected a single webhook for default revision") } webhook := whs[0] for i := range webhook.Webhooks { wh := webhook.Webhooks[i] // this is an abomination, but if this isn't a per-revision webhook, we want to make it ineffectual // without deleting it. Add a nonsense match. wh.NamespaceSelector = util.NeverMatch wh.ObjectSelector = util.NeverMatch webhook.Webhooks[i] = wh }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:42 GMT 2024 - 5.4K bytes - Viewed (1) -
cni/pkg/nodeagent/informers.go
// If oldpod != ready && newpod != ready, but the ambient annotation was added, // then assume this event was generated by the CNI plugin labeling the pod on startup, // and skip the event. // // This isn't perfect (someone could manually annotate an unready pod, // then install Istio, then the pod goes ready, and we'd miss capture) - but that // seems vanishingly unlikely wasReady := kube.CheckPodReadyOrComplete(oldPod)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 9.6K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
if un.GetKind() == istioV1Alpha1.IstioOperatorGVK.Kind { if err := checkFields(un); err != nil { return nil, err } // IstioOperator isn't part of pkg/config/schema/collections, // usual conversion not available. Convert unstructured to string // and ask operator code to check. un.SetCreationTimestamp(metav1.Time{}) // UnmarshalIstioOperator chokes on these
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
out["port"] = port } if targetPort != -1 { out["targetPort"] = targetPort } return out } // checkRoleBindingsReferenceRoles fails if any RoleBinding in objs references a Role that isn't found in objs. func checkRoleBindingsReferenceRoles(g *WithT, objs *ObjectSet) { for _, o := range objs.kind(name2.RoleBindingStr).objSlice { ou := o.Unstructured() rrname := mustGetValueAtPath(g, ou, "roleRef.name")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
} 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 if newRev == "" && (ok && oldLabel == "disabled" || !ok) { return "" } if newRev != "" { return fmt.Sprintf("MISSING/%s", newRev) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
return nil }, } describeCmd.AddCommand(podDescribeCmd(ctx)) describeCmd.AddCommand(svcDescribeCmd(ctx)) return describeCmd } // Append ".svc.cluster.local" if it isn't already present func extendFQDN(host string) string { if host[0] == '*' { return host } if strings.HasSuffix(host, k8sSuffix) { return host } return host + k8sSuffix }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
return err } serviceAccount := wg.Spec.Template.ServiceAccount tokenPath := filepath.Join(dir, "istio-token") token := &authenticationv1.TokenRequest{ // ObjectMeta isn't required in real k8s, but needed for tests ObjectMeta: metav1.ObjectMeta{ Name: serviceAccount, Namespace: wg.Namespace, }, Spec: authenticationv1.TokenRequestSpec{
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 17 20:06:41 GMT 2024 - 25.5K bytes - Viewed (0)