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

fix: cluster network is optional #166

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

prometherion
Copy link
Member

Closes #165

Signed-off-by: Dario Tranchitella <[email protected]>
if apiPort := cluster.Spec.ClusterNetwork.APIServerPort; apiPort != nil {
tcp.Spec.NetworkProfile.Port = *apiPort
} else {
tcp.Spec.NetworkProfile.Port = 6443
Copy link
Member Author

Choose a reason for hiding this comment

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

By default, Kamaji sets the port to 6443 in case of an empty value.

@prometherion prometherion merged commit e85f4cb into clastix:master Jan 23, 2025
4 checks passed
@prometherion prometherion deleted the issues/165 branch January 23, 2025 10:34
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.

[BUG] panic while reconciling Kamaji Control Plane
1 participant