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

feat: node transformer feature flags #156

Merged
merged 1 commit into from
May 6, 2024

Conversation

sergelogvinov
Copy link
Collaborator

@sergelogvinov sergelogvinov commented May 5, 2024

Introduce feature flags:

  • PublicIPDiscovery enables the Cloud Controller Manager (CCM) to identify global/public IPs on the node.

Pull Request

What? (description)

Why? (reasoning)

Acceptance

Please use the following checklist:

  • you linked an issue (if applicable)
  • you included tests (if applicable)
  • you ran conformance (make conformance)
  • you linted your code (make lint)
  • you linted your code (make unit)

See make help for a description of the available targets.

// NodeFeaturesFlagSpec represents the node features flags.
type NodeFeaturesFlagSpec struct {
// PublicIPDiscovery try to find public IP on the node
PublicIPDiscovery *bool `yaml:"publicIPDiscovery,omitempty"`
Copy link
Member

Choose a reason for hiding this comment

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

we could just make this non-pointer and simplify the check

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I thought it will use as true/false/undefined value to set default in future.
Currently we have false as default. And i've changed it to non pointer.

Thanks.

Introduce feature flags:
* PublicIPDiscovery enables the Cloud Controller Manager (CCM) to identify global/public IPs on the node.

Signed-off-by: Serge Logvinov <[email protected]>
@sergelogvinov
Copy link
Collaborator Author

/m

@talos-bot talos-bot merged commit 85e2022 into siderolabs:main May 6, 2024
3 checks passed
@sergelogvinov sergelogvinov deleted the features-flags branch May 6, 2024 05:46
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.

3 participants