Skip to main content
Version: latest

Disallow pulling Gadgets

It is possible to disallow pulling gadgets by using the --disallow-pulling flag. By default, pulling is allowed.

You can specify this option only at deploy time:

$ kubectl gadget deploy --disallow-gadgets-pulling
...
Inspektor Gadget successfully deployed
$ kubectl gadget run trace_exec
Error: fetching gadget information: getting gadget info: rpc error: code = Unknown desc = getting gadget info: initializing and preparing operators: instantiating operator "oci": ensuring image: pulling image (if missing) "trace_exec": pulling image "trace_exec": pulling is disabled