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

clustermesh: Validate cluster-id value as per requirement #978

Merged
merged 1 commit into from Jul 21, 2022

Conversation

sayboras
Copy link
Member

This commit is to make sure that cluster-id is numeric and within range
of 1-255.

https://docs.cilium.io/en/stable/gettingstarted/clustermesh/clustermesh/#gs-clustermesh

Each cluster must be assigned a unique human-readable name as well as a numeric cluster ID (1-255)

Fixes: #143
Signed-off-by: Tam Mach tam.mach@cilium.io

@sayboras sayboras temporarily deployed to ci July 16, 2022 04:34 Inactive
@sayboras sayboras marked this pull request as ready for review July 16, 2022 04:38
@sayboras sayboras requested a review from a team as a code owner July 16, 2022 04:38
@sayboras sayboras requested a review from ldelossa July 16, 2022 04:38
clustermesh/clustermesh.go Outdated Show resolved Hide resolved
clustermesh/clustermesh.go Outdated Show resolved Hide resolved
clustermesh/clustermesh.go Outdated Show resolved Hide resolved
@maintainer-s-little-helper
Copy link

Commit 9bf352b does not contain "Signed-off-by".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

@maintainer-s-little-helper
Copy link

Commits 9bf352b, 8493487 do not contain "Signed-off-by".

Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin

@sayboras sayboras temporarily deployed to ci July 20, 2022 08:54 Inactive
@sayboras sayboras temporarily deployed to ci July 20, 2022 08:57 Inactive
@sayboras sayboras requested a review from tklauser July 20, 2022 08:57
This commit is to make sure that cluster-id is numeric and within range
of 1-255.

https://docs.cilium.io/en/stable/gettingstarted/clustermesh/clustermesh/#gs-clustermesh

Fixes: cilium#143

Signed-off-by: Tam Mach <tam.mach@cilium.io>
@tklauser tklauser temporarily deployed to ci July 21, 2022 10:57 Inactive
@tklauser tklauser merged commit 4c1f2df into cilium:master Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

install: invalid cluster-id should be blocked at creation time
2 participants