- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for PodRedirectionEnabled (0.18 sec)
-
cni/pkg/util/podutil.go
)) var annotationRemovePatch = []byte(fmt.Sprintf( `{"metadata":{"annotations":{"%s":null}}}`, constants.AmbientRedirection, )) // PodRedirectionEnabled determines if a pod should or should not be configured // to have traffic redirected thru the node proxy. func PodRedirectionEnabled(namespace *corev1.Namespace, pod *corev1.Pod) bool { if !(namespace.GetLabels()[constants.DataplaneModeLabel] == constants.DataplaneModeAmbient ||
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)