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

bug: fix CK8sInitConfiguration defaults #113

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

petrutlucian94
Copy link
Contributor

The following settings are enabled by default even if the network feature is disabled:

  • EnableDefaultGateway
  • EnableDefaultLoadBalancer
  • EnableDefaultIngress

This causes bootstrap failures if the network feature is disabled.

To address this, we'll set these default values based on the network feature.

While at it, we'll fix the "BaseUserData" docstrings, clarifying the difference between the "BootstrapConfig" and "ConfigFileContents" fields.

Fixes: #106

We'll update the "BaseUserData" docstrings, clarifying the
difference between the "BootstrapConfig" and "ConfigFileContents"
fields.

One contains the bootstrap config generated by the ck8s provider,
the other can contain user-provided configuration that overrides
the generated config.
The following settings are enabled by default even if the network
feature is disabled:

* EnableDefaultGateway
* EnableDefaultLoadBalancer
* EnableDefaultIngress

This causes bootstrap failures if the network feature is disabled.

To address this, we'll set these default values based on the
network feature.

Fixes: #106
@petrutlucian94 petrutlucian94 requested a review from a team as a code owner February 27, 2025 13:07
We'll collect the test artifacts in order to be able to debug
test failures.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants