Skip to content

cli: clustermesh: use ca bundle to connect clusters#42833

Merged
MrFreezeex merged 1 commit intomainfrom
pr/mrfreezeex/clustermesh-cli-ca-bundle
Jan 20, 2026
Merged

cli: clustermesh: use ca bundle to connect clusters#42833
MrFreezeex merged 1 commit intomainfrom
pr/mrfreezeex/clustermesh-cli-ca-bundle

Conversation

@MrFreezeex
Copy link
Copy Markdown
Member

TLS keys inside values was recently deprecated (#42576), so this commit changes the CLI connect command to trust each clusters CA in CA bundle.

cli: clustermesh: use ca bundle to connect clusters

@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 Nov 17, 2025
@github-actions github-actions bot added the cilium-cli This PR contains changes related with cilium-cli label Nov 17, 2025
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@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. and removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. release-note/minor This PR changes functionality that users may find relevant to operating Cilium. labels Nov 17, 2025
@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 Nov 17, 2025
@MrFreezeex MrFreezeex added release-note/minor This PR changes functionality that users may find relevant to operating Cilium. and removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Nov 17, 2025
@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/clustermesh-cli-ca-bundle branch from 304c79c to 6fee887 Compare November 17, 2025 18:31
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

1 similar comment
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/clustermesh-cli-ca-bundle branch from f8b44e4 to b49a8d3 Compare November 17, 2025 21:31
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/clustermesh-cli-ca-bundle branch from b49a8d3 to c7a35f1 Compare November 17, 2025 22:50
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/clustermesh-cli-ca-bundle branch 2 times, most recently from 373c1ce to 3caaa67 Compare November 18, 2025 00:29
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it
has not had recent activity. It will be closed if no further activity
occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale. label Dec 18, 2025
@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/clustermesh-cli-ca-bundle branch from 3caaa67 to 0d8f02b Compare December 30, 2025 00:31
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex MrFreezeex removed the stale The stale bot thinks this issue is old. Add "pinned" label to prevent this from becoming stale. label Dec 30, 2025
@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/clustermesh-cli-ca-bundle branch from 0d8f02b to 46b7977 Compare December 30, 2025 02:19
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/clustermesh-cli-ca-bundle branch 2 times, most recently from e0b068d to f4ec988 Compare December 30, 2025 13:51
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/clustermesh-cli-ca-bundle branch from 3c42e8b to 0a3a0df Compare January 16, 2026 17:43
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

1 similar comment
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex MrFreezeex requested a review from giorio94 January 16, 2026 20:01
@MrFreezeex
Copy link
Copy Markdown
Member Author

Ok! I think this should work out with what we just discussed! It does not set a ca bundle if not necessary which make the CI works without ignoring any warning/error and it restart the clustermesh-apiserver pods if the CA bundle changes. I tested locally by removing the cilium-ca copy and it seems to work fine 👀

@MrFreezeex MrFreezeex marked this pull request as ready for review January 16, 2026 20:03
@MrFreezeex MrFreezeex requested review from a team as code owners January 16, 2026 20:03
@MrFreezeex MrFreezeex requested a review from derailed January 16, 2026 20:03
Copy link
Copy Markdown
Member

@giorio94 giorio94 left a comment

Choose a reason for hiding this comment

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

Thanks! Overall looks good to me, with a few (mostly minor) comments inline.

@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/clustermesh-cli-ca-bundle branch from 527c95f to 382a7db Compare January 19, 2026 21:40
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex MrFreezeex requested a review from giorio94 January 19, 2026 22:01
Copy link
Copy Markdown
Member

@giorio94 giorio94 left a comment

Choose a reason for hiding this comment

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

Thanks! A few nits inline, looks good to me otherwise.

@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/clustermesh-cli-ca-bundle branch from 382a7db to be6ff17 Compare January 20, 2026 14:25
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/clustermesh-cli-ca-bundle branch from be6ff17 to 62df61a Compare January 20, 2026 16:19
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

Make the CLI use ca bundle instead of the deprecated per cluster
key/certs.

Also introduce a ``--allow-mismatching-ca`` flag to make it explicit
that the user should allow adding clusters with different CAs and error
out otherwise.

Signed-off-by: Arthur Outhenin-Chalandre <git@mrfreezeex.fr>
@MrFreezeex MrFreezeex force-pushed the pr/mrfreezeex/clustermesh-cli-ca-bundle branch from 62df61a to 40e4d05 Compare January 20, 2026 18:59
@MrFreezeex
Copy link
Copy Markdown
Member Author

/test

@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 Jan 20, 2026
@MrFreezeex MrFreezeex added this pull request to the merge queue Jan 20, 2026
Merged via the queue into main with commit 968b28e Jan 20, 2026
288 of 289 checks passed
@MrFreezeex MrFreezeex deleted the pr/mrfreezeex/clustermesh-cli-ca-bundle branch January 20, 2026 23:55
lambchop4prez added a commit to lambchop4prez/network that referenced this pull request Feb 26, 2026
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[aqua:cilium/cilium-cli](https://redirect.github.com/cilium/cilium-cli)
| patch | `0.19.0` → `0.19.2` |

---

### Release Notes

<details>
<summary>cilium/cilium-cli (aqua:cilium/cilium-cli)</summary>

###
[`v0.19.2`](https://redirect.github.com/cilium/cilium-cli/compare/v0.19.1...v0.19.2)

[Compare
Source](https://redirect.github.com/cilium/cilium-cli/compare/v0.19.1...v0.19.2)

###
[`v0.19.1`](https://redirect.github.com/cilium/cilium-cli/releases/tag/v0.19.1)

[Compare
Source](https://redirect.github.com/cilium/cilium-cli/compare/v0.19.0...v0.19.1)

## Summary of Changes

**Minor Changes:**

- cli: clustermesh: use ca bundle to connect clusters
([cilium/cilium#42833](https://redirect.github.com/cilium/cilium/issues/42833),
[@&#8203;MrFreezeex](https://redirect.github.com/MrFreezeex))

**Bugfixes:**

- cilium-cli: Fix NodePort deployment check in dual-stack clusters
([cilium/cilium#43888](https://redirect.github.com/cilium/cilium/issues/43888),
[@&#8203;gandro](https://redirect.github.com/gandro))
- Fix GKE conformance test NodePort timeouts by skipping unreachable
external IP validation on GKE
([cilium/cilium#44014](https://redirect.github.com/cilium/cilium/issues/44014),
[@&#8203;pillai-ashwin](https://redirect.github.com/pillai-ashwin))

**CI Changes:**

- cli: Relax warning exclusion for "unable to find key in local cache"
([cilium/cilium#44149](https://redirect.github.com/cilium/cilium/issues/44149),
[@&#8203;brb](https://redirect.github.com/brb))

**Misc Changes:**

- chore(deps): update all-dependencies (main)
([cilium/cilium#43700](https://redirect.github.com/cilium/cilium/issues/43700),
[@&#8203;cilium-renovate](https://redirect.github.com/cilium-renovate)\[bot])
- chore(deps): update all-dependencies (main)
([cilium/cilium#43824](https://redirect.github.com/cilium/cilium/issues/43824),
[@&#8203;cilium-renovate](https://redirect.github.com/cilium-renovate)\[bot])
- chore(deps): update all-dependencies (main)
([cilium/cilium#43965](https://redirect.github.com/cilium/cilium/issues/43965),
[@&#8203;cilium-renovate](https://redirect.github.com/cilium-renovate)\[bot])
- chore(deps): update all-dependencies (main)
([cilium/cilium#44090](https://redirect.github.com/cilium/cilium/issues/44090),
[@&#8203;cilium-renovate](https://redirect.github.com/cilium-renovate)\[bot])
- chore(deps): update all-dependencies (main)
([cilium/cilium#44235](https://redirect.github.com/cilium/cilium/issues/44235),
[@&#8203;cilium-renovate](https://redirect.github.com/cilium-renovate)\[bot])
- chore(deps): update base-images (main)
([cilium/cilium#43827](https://redirect.github.com/cilium/cilium/issues/43827),
[@&#8203;cilium-renovate](https://redirect.github.com/cilium-renovate)\[bot])
- chore(deps): update base-images (main)
([cilium/cilium#43969](https://redirect.github.com/cilium/cilium/issues/43969),
[@&#8203;cilium-renovate](https://redirect.github.com/cilium-renovate)\[bot])
- chore(deps): update base-images (main)
([cilium/cilium#44239](https://redirect.github.com/cilium/cilium/issues/44239),
[@&#8203;cilium-renovate](https://redirect.github.com/cilium-renovate)\[bot])
- cilium-cli: Fix container name in connectivity test logs
([cilium/cilium#44076](https://redirect.github.com/cilium/cilium/issues/44076),
[@&#8203;HadrienPatte](https://redirect.github.com/HadrienPatte))
- docs: fix typos in comments
([cilium/cilium#43821](https://redirect.github.com/cilium/cilium/issues/43821),
[@&#8203;NAM-MAN](https://redirect.github.com/NAM-MAN))
- feat(cilium-cli): Add -r(estart) parameter to cilium upgrade
([cilium/cilium#43722](https://redirect.github.com/cilium/cilium/issues/43722),
[@&#8203;alagoutte](https://redirect.github.com/alagoutte))
- Introduce end-to-end tests for Cilium's ZTunnel integration.
([cilium/cilium#43166](https://redirect.github.com/cilium/cilium/issues/43166),
[@&#8203;ldelossa](https://redirect.github.com/ldelossa))
- Replace Index{,Byte} with Cut,Contains
([cilium/cilium#43708](https://redirect.github.com/cilium/cilium/issues/43708),
[@&#8203;joestringer](https://redirect.github.com/joestringer))
- sysdump: Use label selectors for Hubble UI/Relay deployment collection
([cilium/cilium#44227](https://redirect.github.com/cilium/cilium/issues/44227),
[@&#8203;darox](https://redirect.github.com/darox))
- chore(deps): update dependency cilium/cilium to v1.18.6 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;3168](https://redirect.github.com/cilium/cilium-cli/pull/3168)
- Update stable release to v0.19.0 by
[@&#8203;tklauser](https://redirect.github.com/tklauser) in
[#&#8203;3169](https://redirect.github.com/cilium/cilium-cli/pull/3169)
- chore(deps): update go to v1.25.6 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;3170](https://redirect.github.com/cilium/cilium-cli/pull/3170)
- chore(deps): update docker.io/library/golang:1.25.6 docker digest to
[`ce63a16`](https://redirect.github.com/cilium/cilium-cli/commit/ce63a16)
by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;3172](https://redirect.github.com/cilium/cilium-cli/pull/3172)
- chore(deps): update actions/checkout action to v6.0.2 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;3171](https://redirect.github.com/cilium/cilium-cli/pull/3171)
- ci: Harden the image build process by
[@&#8203;ferozsalam](https://redirect.github.com/ferozsalam) in
[#&#8203;3174](https://redirect.github.com/cilium/cilium-cli/pull/3174)
- chore(deps): update gcr.io/distroless/static:latest docker digest to
[`972618c`](https://redirect.github.com/cilium/cilium-cli/commit/972618c)
by [@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;3176](https://redirect.github.com/cilium/cilium-cli/pull/3176)
- chore(deps): update all github action dependencies by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;3175](https://redirect.github.com/cilium/cilium-cli/pull/3175)
- chore(deps): update go to v1.25.7 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;3178](https://redirect.github.com/cilium/cilium-cli/pull/3178)
- chore(deps): update golangci/golangci-lint docker tag to v2.9.0 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;3179](https://redirect.github.com/cilium/cilium-cli/pull/3179)
- chore(deps): update go to v1.26.0 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;3181](https://redirect.github.com/cilium/cilium-cli/pull/3181)
- chore(deps): update docker/build-push-action action to v6.19.0 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;3180](https://redirect.github.com/cilium/cilium-cli/pull/3180)
- chore(deps): update docker/build-push-action action to v6.19.2 by
[@&#8203;renovate](https://redirect.github.com/renovate)\[bot] in
[#&#8203;3183](https://redirect.github.com/cilium/cilium-cli/pull/3183)
- Prepare for v0.19.1 release by
[@&#8203;tklauser](https://redirect.github.com/tklauser) in
[#&#8203;3184](https://redirect.github.com/cilium/cilium-cli/pull/3184)

#### New Contributors

- [@&#8203;ferozsalam](https://redirect.github.com/ferozsalam) made
their first contribution in
[#&#8203;3174](https://redirect.github.com/cilium/cilium-cli/pull/3174)

**Full Changelog**:
<cilium/cilium-cli@v0.19.0...v0.19.1>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/lambchop4prez/network).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My44LjUiLCJ1cGRhdGVkSW5WZXIiOiI0My4zNi4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS9naXRodWItcmVsZWFzZXMiLCJ0eXBlL3BhdGNoIl19-->
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. cilium-cli This PR contains changes related with cilium-cli 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

None yet

Development

Successfully merging this pull request may close these issues.

5 participants