Skip to content

clustermesh: helm: add support for dict type for clusters values#40857

Merged
joestringer merged 1 commit intocilium:mainfrom
MrFreezeex:pr/mrfreezeex/helm-clustermesh-clusters-dict
Aug 12, 2025
Merged

clustermesh: helm: add support for dict type for clusters values#40857
joestringer merged 1 commit intocilium:mainfrom
MrFreezeex:pr/mrfreezeex/helm-clustermesh-clusters-dict

Conversation

@MrFreezeex
Copy link
Copy Markdown
Member

This commit add initial support in Helm to pass a dict of clusters instead of a list of clusters.

This fits more to our actual usage as each name are unique and a dict can enforce that by design. It will also allows users to split their clusters in multiple helm values files as a dict allow for deep-merging helm values while you cannot do that with a list.

This also adds a enabled subkey in the clusters list which might allow for further flexibility to optionally declare but disable one cluster when merging Helm values together.

This is only the initial support and don't include the CLI support.

Related to #40796

clustermesh: helm: add support for dict type for `clustermesh.config.clusters` values

@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jul 31, 2025
@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/helm-clustermesh-clusters-dict branch from db16f43 to 90e869b Compare July 31, 2025 20:54
@MrFreezeex MrFreezeex added release-note/minor This PR changes functionality that users may find relevant to operating Cilium. area/clustermesh Relates to multi-cluster routing functionality in Cilium. area/helm Impacts helm charts and user deployment experience and removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Jul 31, 2025
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/helm-clustermesh-clusters-dict branch from 90e869b to fb0e937 Compare August 1, 2025 19:28
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/helm-clustermesh-clusters-dict branch from fb0e937 to 0f93f91 Compare August 1, 2025 20:43
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex MrFreezeex marked this pull request as ready for review August 1, 2025 21:55
@MrFreezeex MrFreezeex requested review from a team as code owners August 1, 2025 21:56
Copy link
Copy Markdown
Member

@marseel marseel left a comment

Choose a reason for hiding this comment

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

Thanks for the PR, I think it would be nice to include some short message in upgrade notes as well highlighting new format.

@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/helm-clustermesh-clusters-dict branch from 0f93f91 to 75e9b5b Compare August 4, 2025 16:54
@MrFreezeex MrFreezeex requested a review from a team as a code owner August 4, 2025 16:54
@MrFreezeex MrFreezeex requested a review from qmonnet August 4, 2025 16:54
This commit add initial support in Helm to pass a dict of clusters
instead of a list of clusters.

This fits more to our actual usage as each name are unique and a dict
can enforce that by design. It will also allows users to split their
clusters in multiple helm values files as a dict allow for deep-merging
helm values while you cannot do that with a list.

This also adds a enabled subkey in the clusters list which might allow
for further flexibility to optionally declare but disable one cluster
when merging Helm values together.

This is only the initial support and don't include the CLI support.

Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/helm-clustermesh-clusters-dict branch from 75e9b5b to cebf431 Compare August 4, 2025 16:57
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

Copy link
Copy Markdown
Member

@qmonnet qmonnet left a comment

Choose a reason for hiding this comment

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

Ack for doc changes

@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 Aug 7, 2025
@joestringer joestringer enabled auto-merge August 8, 2025 05:16
@joestringer joestringer added this pull request to the merge queue Aug 12, 2025
Merged via the queue into cilium:main with commit 82d42bf Aug 12, 2025
68 checks passed
@cilium-release-bot cilium-release-bot bot moved this to Released in cilium v1.19.0 Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/clustermesh Relates to multi-cluster routing functionality in Cilium. area/helm Impacts helm charts and user deployment experience ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/minor This PR changes functionality that users may find relevant to operating Cilium.

Projects

No open projects
Status: Released

Development

Successfully merging this pull request may close these issues.

6 participants