Skip to content

Conversation

mhofstetter
Copy link
Member

@mhofstetter mhofstetter commented Sep 14, 2023

The Make targets to deploy Cilium into a kind cluster are using the following Helm values files.

  • contrib/testing/kind-common.yaml
  • contrib/testing/kind-values.yaml
  • contrib/testing/kind-fast.yaml

These contain reasonable defaults. Nevertheless, it would be great to be able to define additional helm values without having to modify the existing files.

Therefore, this commit introduces the possibility to define a user-defined values file that is added to the list of helm values files.

  • contrib/testing/kind-custom.yaml

To prevent users from committing the file, it's ignored by Git.

@mhofstetter mhofstetter added kind/enhancement This would improve or streamline existing functionality. release-note/misc This PR makes changes that have no direct user impact. area/build Anything to do with the build, more general than area/CI labels Sep 14, 2023
@mhofstetter mhofstetter force-pushed the pr/mhofstetter/kind-custom-values branch from b3814ff to a81cec5 Compare September 14, 2023 08:53
@mhofstetter
Copy link
Member Author

/test

@mhofstetter mhofstetter marked this pull request as ready for review September 14, 2023 09:21
@mhofstetter mhofstetter requested review from a team as code owners September 14, 2023 09:21
Copy link
Member

@bimmlerd bimmlerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh yeah could've used that recently 👍

Is there a place to document it so that it's a bit more discoverable?

@mhofstetter mhofstetter force-pushed the pr/mhofstetter/kind-custom-values branch 2 times, most recently from ca4e13e to a0fec5d Compare September 14, 2023 14:25
@mhofstetter mhofstetter requested a review from a team as a code owner September 14, 2023 14:25
@mhofstetter
Copy link
Member Author

oh yeah could've used that recently 👍

Is there a place to document it so that it's a bit more discoverable?

Thanks for your input @bimmlerd !

I added an additional section in the Development Setup.

In addition i adapted the changes for the *-fast mode too.

Copy link
Contributor

@zacharysarah zacharysarah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mhofstetter One tiny nit and one optional suggestion, otherwise LGTM

The Make targets to deploy Cilium into a kind cluster are
using the following Helm values files.

* contrib/testing/kind-values.yaml
* contrib/testing/kind-fast.yaml

These contain reasonable defaults. Nevertheless, it would be
great to be able to define additional helm values without
having to modify the existing files.

Therefore, this commit introduces the possibilitiy to define a
user-defined values file that is added to the list of helm values
files.

* contrib/testing/kind-custom.yaml

To prevent users from committing the file, it's ignored by Git.

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
@mhofstetter mhofstetter force-pushed the pr/mhofstetter/kind-custom-values branch from a0fec5d to 59d908e Compare September 15, 2023 06:18
@mhofstetter
Copy link
Member Author

/test

Copy link
Contributor

@zacharysarah zacharysarah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Sep 26, 2023
@jibi jibi merged commit 76aad59 into cilium:main Sep 26, 2023
@mhofstetter mhofstetter deleted the pr/mhofstetter/kind-custom-values branch October 16, 2023 06:51
@giorio94 giorio94 added backport-pending/1.15 The backport for Cilium 1.15.x for this PR is in progress. backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. and removed backport-pending/1.15 The backport for Cilium 1.15.x for this PR is in progress. labels Nov 12, 2024
@giorio94 giorio94 mentioned this pull request Nov 12, 2024
3 tasks
@github-actions github-actions bot added backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. and removed backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. labels Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build Anything to do with the build, more general than area/CI backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. kind/enhancement This would improve or streamline existing functionality. 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.

5 participants