- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for lbls (0.43 sec)
-
istioctl/pkg/workload/workload.go
md["ISTIO_META_POD_PORTS"] = portsStr } md["ISTIO_META_WORKLOAD_NAME"] = wg.Name lbls[label.ServiceCanonicalName.Name] = md["CANONICAL_SERVICE"] lbls[label.ServiceCanonicalRevision.Name] = md["CANONICAL_REVISION"] if labelsJSON, err := json.Marshal(lbls); err == nil { md["ISTIO_METAJSON_LABELS"] = string(labelsJSON) }
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) -
cni/pkg/plugin/plugin.go
return nil } val := pi.Annotations[injectAnnotationKey] if lbl, labelPresent := pi.Labels[label.SidecarInject.Name]; labelPresent { // The label is the new API; if both are present we prefer the label val = lbl } if val != "" { log.Debugf("contains inject annotation: %s", val) if injectEnabled, err := strconv.ParseBool(val); err == nil {
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) -
istioctl/pkg/injector/injector-list.go
} func injectionDisabled(pod *corev1.Pod) bool { inject := pod.ObjectMeta.GetAnnotations()[annotation.SidecarInject.Name] if lbl, labelPresent := pod.ObjectMeta.GetLabels()[label.SidecarInject.Name]; labelPresent { inject = lbl } return strings.EqualFold(inject, "false") } func renderCounts(injectedRevision string, counts revisionCount) string { if counts.pods == 0 {
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)