- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for noir (0.12 sec)
-
cni/pkg/util/podutil_test.go
args: args{ namespace: namespaceWithAmbientEnabledLabel, pod: podWithAmbientEnabledLabel, }, want: true, }, { name: "ambient mode enabled for neither namespace nor pod", args: args{ namespace: unlabelledNamespace, pod: unlabelledPod, }, want: false, }, { name: "pod has sidecar and namespace has ambient enabled", args: args{
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) -
cni/pkg/util/podutil.go
if !(namespace.GetLabels()[constants.DataplaneModeLabel] == constants.DataplaneModeAmbient || pod.GetLabels()[constants.DataplaneModeLabel] == constants.DataplaneModeAmbient) { // Neither namespace nor pod has ambient mode enabled return false } if podHasSidecar(pod) { // Ztunnel and sidecar for a single pod is currently not supported; opt out. return false }
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)