-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(docker/kumactl): make entrypoint consistent #6596
feat(docker/kumactl): make entrypoint consistent #6596
Conversation
Make `kumactl` container image entrypoint consistend with `kuma-cp` and `kuma-dp` images, where names of images refer to binaries set in entrypoint. Signed-off-by: Bart Smykla <bartek@smykla.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is changing the behaviour which requires changing all the docs and anyone using any script for little added value on our side.
What's the motivation behind this?
I think motivation is consistency. To be honest I'm not convinced that it would impact that much anyone using any script, as this was broken from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to update the Helm charts? I wanna take a look
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we might need to set command
in
kuma/deployments/charts/kuma/templates/pre-upgrade-install-crds-job.yaml
Lines 163 to 164 in 4f2f48f
args: | |
- '/kuma/scripts/save_crds.sh' |
command: ["/busybox/busybox", "sh", "-c"]
@lahabana I think for _ctl
docker images or even any docker image, the user's assumption will be that the entrypoint is the binary.
…entrypoint-consistend-with-other-images
Signed-off-by: Bart Smykla <bartek@smykla.com>
@michaelbeaumont I updated this hook, but I went with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM at least
@lahabana this also makes it container structure tests more reusable as without this, we couldn't test entrypoint for kumactl image if we want ubi images to reuse the same tests as ubi images don't use busybox |
We did internal poll about this, and decided to introduce this change |
Make
kumactl
container image entrypoint consistent withkuma-cp
andkuma-dp
images, where names of images refer to binaries set in entrypoint.This PR is a follow-up after the discussion in #6593 (comment)
Checklist prior to review
syscall.Mkfifo
have equivalent implementation on the other OS -- it doesn'tUPGRADE.md
? -- I updated the file> Changelog:
entry here or add aci/
label to run fewer/more tests?