Skip to content

Commit

Permalink
chore: optimize the init container by using alpine image
Browse files Browse the repository at this point in the history
  • Loading branch information
mojtaba-esk committed Dec 19, 2024
1 parent 5eaf879 commit 46609b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/instance/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

const (
baseInitImageName = "nicolaka/netshoot"
baseInitImageName = "alpine:latest"
)

type build struct {
Expand Down
1 change: 0 additions & 1 deletion pkg/k8s/pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const (
podFilesConfigmapNameSuffix = "-config"

initContainerNameSuffix = "-init"
initContainerImage = "nicolaka/netshoot"
defaultContainerUser = 0
)

Expand Down

0 comments on commit 46609b5

Please sign in to comment.