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

Include '*.mesh.cilium.io' in 'clustermesh-apiserver''s server certificate. #17027

Merged
merged 2 commits into from Aug 10, 2021
Merged

Include '*.mesh.cilium.io' in 'clustermesh-apiserver''s server certificate. #17027

merged 2 commits into from Aug 10, 2021

Conversation

bmcustodio
Copy link
Contributor

@bmcustodio bmcustodio commented Aug 2, 2021

Currently, the server certificate generated by Helm for clustermesh-apiserver doesn't include *.mesh.cilium.io, which is used alongside host aliases when establishing a cluster mesh. This PR addresses that by adding said domain to the list of SANs. It additionally brings in v0.1.5 of cilium/certgen, which adds *.mesh.cilium.io to the list of SANs for the server certificate generated for clustermesh-apiserver when clustermesh.apiserver.tls.auto.method is set to cronJob.

Add '*.mesh.cilium.io' to the list of SANs for the server certificate of 'clustermesh-apiserver'.

@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 Aug 2, 2021
@bmcustodio bmcustodio requested a review from gandro August 2, 2021 13:15
@bmcustodio bmcustodio requested a review from aanm August 2, 2021 13:15
@bmcustodio bmcustodio added area/clustermesh Relates to multi-cluster routing functionality in Cilium. area/helm Impacts helm charts and user deployment experience needs-backport/1.9 labels Aug 2, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.9.10 Aug 2, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.10.4 Aug 2, 2021
@bmcustodio bmcustodio marked this pull request as ready for review August 2, 2021 13:58
@bmcustodio bmcustodio requested review from a team as code owners August 2, 2021 13:58
@bmcustodio bmcustodio requested review from a team, qmonnet and nbusseneau August 2, 2021 13:58
Copy link
Member

@nbusseneau nbusseneau left a comment

Choose a reason for hiding this comment

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

Nice catch.

@aanm aanm added the release-note/bug This PR fixes an issue in a previous release of Cilium. label Aug 2, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Aug 2, 2021
@aanm
Copy link
Member

aanm commented Aug 4, 2021

test-me-please

@aanm aanm added the dont-merge/needs-rebase This PR needs to be rebased because it has merge conflicts. label Aug 5, 2021
Currently, the server certificate generated by Helm for
'clustermesh-apiserver' doesn't include '*.mesh.cilium.io', which is
used alongside host aliases when establishing a cluster mesh. This
commit addresses that by adding said domain to the list of SANs.

Signed-off-by: Bruno Miguel Custódio <brunomcustodio@gmail.com>
Related to the previous commit, v0.1.5 of 'cilium/certgen' adds
'*.mesh.cilium.io' to the list of SANs for the server certificate
generated for 'clustermesh-apiserver'.

Signed-off-by: Bruno Miguel Custódio <brunomcustodio@gmail.com>
@bmcustodio
Copy link
Contributor Author

Rebased!

@bmcustodio bmcustodio removed the dont-merge/needs-rebase This PR needs to be rebased because it has merge conflicts. label Aug 9, 2021
@aanm
Copy link
Member

aanm commented Aug 9, 2021

test-me-please

@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 9, 2021
@gandro gandro merged commit 206105f into cilium:master Aug 10, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.10 in 1.10.4 Aug 10, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.9 in 1.9.10 Aug 10, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.10 to Backport done to v1.10 in 1.10.4 Aug 13, 2021
@joestringer joestringer added this to Backport pending to v1.9 in 1.9.11 Sep 1, 2021
@joestringer joestringer removed this from Backport pending to v1.9 in 1.9.10 Sep 1, 2021
@joestringer joestringer removed this from Backport pending to v1.9 in 1.9.11 Sep 1, 2021
@joestringer joestringer added this to Backport done to v1.9 in 1.9.10 Sep 1, 2021
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/bug This PR fixes an issue in a previous release of Cilium.
Projects
No open projects
1.10.4
Backport done to v1.10
1.9.10
Backport done to v1.9
Development

Successfully merging this pull request may close these issues.

None yet

8 participants