Skip to content
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

Makefile: Add kind-image target #17990

Merged
merged 2 commits into from
Nov 24, 2021

Conversation

joestringer
Copy link
Member

Add a new kind-image target, mirroring the microk8s target for building
and tagging the image.

To use:

$ make kind
<install Cilium>
$ make kind-image
$ kubectl -n kube-system set image daemonset/cilium cilium-agent=localhost:5000/cilium/cilium-dev:local

@joestringer joestringer requested a review from a team as a code owner November 23, 2021 23:43
@joestringer joestringer added the release-note/misc This PR makes changes that have no direct user impact. label Nov 23, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. and removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Nov 23, 2021
Makefile Show resolved Hide resolved
The microk8s target previously relied on an env var declared at the
top-level of the Makefile, which will conflict with an upcoming commit.
Move it into a target-specific variable. This also means we can remove
the redundant tagging operation.

Signed-off-by: Joe Stringer <joe@cilium.io>
Add a new kind-image target, mirroring the microk8s target for building
and tagging the image.

To use:

$ make kind
<install Cilium>
$ make kind-image
$ kubectl -n kube-system set image daemonset/cilium cilium-agent=localhost:5000/cilium/cilium-dev:local

Signed-off-by: Joe Stringer <joe@cilium.io>
@joestringer joestringer added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Nov 24, 2021
@qmonnet qmonnet merged commit b12ecd1 into cilium:master Nov 24, 2021
@joestringer joestringer deleted the submit/make-kind-image branch November 30, 2021 19:45
@joestringer
Copy link
Member Author

Marking for backport to make v1.11 debugging easier in future.

@tklauser tklauser added backport-done/1.11 The backport for Cilium 1.11.x for this PR is done. and removed backport-pending/1.11 labels Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-done/1.11 The backport for Cilium 1.11.x for this PR is done. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants