- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for Metadata (0.14 sec)
-
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.DataplaneModeLabel, constants.DataplaneModeAmbient)) _, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name, types.MergePatchType, labelsPatch, metav1.PatchOptions{})
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 5.4K bytes - Viewed (0) -
cni/pkg/util/podutil.go
"istio.io/api/annotation" "istio.io/istio/pkg/config/constants" ) var annotationPatch = []byte(fmt.Sprintf( `{"metadata":{"annotations":{"%s":"%s"}}}`, constants.AmbientRedirection, constants.AmbientRedirectionEnabled, )) var annotationRemovePatch = []byte(fmt.Sprintf( `{"metadata":{"annotations":{"%s":null}}}`, constants.AmbientRedirection, ))
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)