Insecure Registries
Inspektor Gadget allows pulling, pushing and running Gadget images from insecure
(plain-HTTP) only registries. This is controlled with the
--insecure-registries
flag:
- kubectl gadget
- ig
For kubectl gadget
, it can only be configured at deploy time:
$ kubectl gadget deploy --insecure-registries=192.168.1.16:5000
...
$ kubectl gadget run 192.168.1.16:5000/trace_exec:latest
...
$ sudo ig image pull 192.168.1.16:5000/trace_exec:latest --insecure-registries="192.168.1.16:5000"
...
$ sudo ig run 192.168.1.16:5000/trace_exec:latest --insecure-registries="192.168.1.16:5000"