Skip to content

Commit e9a03cb

Browse files
committed
addons: Update Inspektor Gadget entrypoint and cleanup.
Inspektor Gadget container entrypoint and cleanup programs were translated from bash to golang [1, 2]. Upstream YAML file used to deploy was updated to reflect this change [3]. Sadly, it was not the case for the YAML used to deploy the minikube addon which leaded to troubles [4, 5, 6]. The present commit updates the minikube addon YAML to use the correct programs as entrypoint and cleanup. Signed-off-by: Francis Laniel <[email protected]> [1]: inspektor-gadget/inspektor-gadget@b268d38 [2]: inspektor-gadget/inspektor-gadget@3dba83f [3]: inspektor-gadget/inspektor-gadget@992399f#diff-0927404b80a3c13f63de64a0c7af1833ba3dfd4b4e1dd07b09cb8216c7f033fcR46 [4]: https://storage.googleapis.com/minikube-builds/logs/17731/32161/Docker_Linux_crio_arm64.html#fail_TestAddons/parallel/InspektorGadget [5]: https://storage.googleapis.com/minikube-builds/logs/17731/32161/Docker_Linux_crio.html#fail_TestAddons/parallel/InspektorGadget [6]: https://storage.googleapis.com/minikube-builds/logs/17731/32161/KVM_Linux_crio.html#fail_TestAddons/parallel/InspektorGadget
1 parent c56894f commit e9a03cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: deploy/addons/inspektor-gadget/ig-daemonset.yaml.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ spec:
3232
terminationMessagePolicy: FallbackToLogsOnError
3333
image: {{.CustomRegistries.InspektorGadget | default .ImageRepository | default .Registries.InspektorGadget }}{{.Images.InspektorGadget}}
3434
imagePullPolicy: "Always"
35-
command: [ "/entrypoint.sh" ]
35+
command: [ "/entrypoint" ]
3636
lifecycle:
3737
preStop:
3838
exec:
3939
command:
40-
- "/cleanup.sh"
40+
- "/cleanup"
4141
readinessProbe:
4242
periodSeconds: 5
4343
timeoutSeconds: 2

0 commit comments

Comments
 (0)