diff --git a/deploy/addons/inspektor-gadget/ig-deployment.yaml.tmpl b/deploy/addons/inspektor-gadget/ig-deployment.yaml.tmpl index 06bad5264b97..b636afad1307 100644 --- a/deploy/addons/inspektor-gadget/ig-deployment.yaml.tmpl +++ b/deploy/addons/inspektor-gadget/ig-deployment.yaml.tmpl @@ -103,6 +103,9 @@ rules: resources: [ "secrets" ] # get secrets is needed for retrieving pull secret. verbs: [ "get" ] + - apiGroups: [""] + resources: ["configmaps"] + verbs: ["get", "watch", "list", "create", "delete", "patch", "update"] --- # Source: gadget/templates/rolebinding.yaml apiVersion: rbac.authorization.k8s.io/v1 diff --git a/pkg/minikube/assets/addons.go b/pkg/minikube/assets/addons.go index 37daa6beb143..d1f1e536244e 100644 --- a/pkg/minikube/assets/addons.go +++ b/pkg/minikube/assets/addons.go @@ -310,7 +310,7 @@ var Addons = map[string]*Addon{ MustBinAsset(addons.InspektorGadgetAssets, "inspektor-gadget/ig-deployment.yaml.tmpl", vmpath.GuestAddonsDir, "ig-deployment.yaml", "0640"), }, false, "inspektor-gadget", "3rd party (inspektor-gadget.io)", "https://github.com/orgs/inspektor-gadget/people", "https://minikube.sigs.k8s.io/docs/handbook/addons/inspektor-gadget/", map[string]string{ - "InspektorGadget": "inspektor-gadget/inspektor-gadget:v0.33.0@sha256:66a9ee9ff75b254d99ec9521af92c2aee19a0faf7bb4a5d7b89787c3817c671c", + "InspektorGadget": "inspektor-gadget/inspektor-gadget:v0.35.0@sha256:102216c464091f4d9e07d825eba0b681f0d7e0ce108957028443441d3843d1fa", }, map[string]string{ "InspektorGadget": "ghcr.io", }),