Skip to content

Commit

Permalink
Merge pull request #17740 from eiffel-fl/francis/fix-ig-entrypoint
Browse files Browse the repository at this point in the history
addons: Update Inspektor Gadget entrypoint and cleanup.
  • Loading branch information
spowelljr authored Dec 7, 2023
2 parents f386f3f + 6db73b2 commit 02e1bff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deploy/addons/inspektor-gadget/ig-daemonset.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ spec:
terminationMessagePolicy: FallbackToLogsOnError
image: {{.CustomRegistries.InspektorGadget | default .ImageRepository | default .Registries.InspektorGadget }}{{.Images.InspektorGadget}}
imagePullPolicy: "Always"
command: [ "/entrypoint.sh" ]
command: [ "/entrypoint" ]
lifecycle:
preStop:
exec:
command:
- "/cleanup.sh"
- "/cleanup"
readinessProbe:
periodSeconds: 5
timeoutSeconds: 2
Expand Down
2 changes: 1 addition & 1 deletion pkg/minikube/assets/addons.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ var Addons = map[string]*Addon{
MustBinAsset(addons.InspektorGadgetAssets, "inspektor-gadget/ig-daemonset.yaml.tmpl", vmpath.GuestAddonsDir, "ig-daemonset.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.22.0@sha256:9272c2be979a9857971fc8b6f7226e609cadec8352f97e9769081930121ef27f",
"InspektorGadget": "inspektor-gadget/inspektor-gadget:v0.23.1@sha256:c77d8eb2b3dc6e9d60767f824b296e42d6d4fdc2f17f507492a2c981933db931",
}, map[string]string{
"InspektorGadget": "ghcr.io",
}),
Expand Down

0 comments on commit 02e1bff

Please sign in to comment.