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

incusd/cluster: Validate cluster HTTPS address on join too #1411

Merged
merged 3 commits into from
Nov 22, 2024

Conversation

stgraber
Copy link
Member

@stgraber stgraber commented Nov 22, 2024

Closes #1402

Copy link
Member

@hallyn hallyn left a comment

Choose a reason for hiding this comment

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

can you also add to the commit msg why dns names for cluster communication is bad? it seems a useful and normal thing...

cmd/incusd/api_cluster.go Outdated Show resolved Hide resolved
cmd/incusd/api_cluster.go Show resolved Hide resolved
@stgraber
Copy link
Member Author

@hallyn so we actually can allow DNS, the issue in the end was missing validation, duplicate logic making debugging harder and now I've also added a test for the DNS vs wildcard case.

@hallyn hallyn merged commit 21eee07 into lxc:main Nov 22, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Soft-brick after mis-configuration
2 participants