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

Add possibility to use multiple loadbalancerClasses and use service.spec.loadBalancerClass #217

Merged
merged 3 commits into from
Jul 20, 2023

Conversation

dergeberl
Copy link
Member

yawol-cloud-controller:

  • Use service.spec.loadBalancerClass
  • Add possibility to add multiple loadBalancerClasses via flags
    • Always add "stackit.cloud/yawol" as default
  • Add --empty-classname flag to also react on services without a class (default is true)

Breaking Change because if a className was set in the yawol-cloud-controller an empty class would be ignored. To have the same behavior, it is necessary to add --empty-classname. Most likely this is only used in dev/debug scenarios.

fix #164

Copy link
Member

@timebertt timebertt left a comment

Choose a reason for hiding this comment

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

Nice PR, some nits inline :)

cmd/yawol-cloud-controller/main.go Show resolved Hide resolved
cmd/yawol-cloud-controller/main.go Outdated Show resolved Hide resolved
internal/helper/service.go Show resolved Hide resolved
internal/helper/service.go Outdated Show resolved Hide resolved
internal/helper/service.go Outdated Show resolved Hide resolved
@dergeberl dergeberl requested a review from Kumm-Kai as a code owner July 20, 2023 11:37
@dergeberl dergeberl force-pushed the feature/loadbalancerClasses branch from 6cd7813 to b789815 Compare July 20, 2023 11:46
@dergeberl dergeberl merged commit 81afbe3 into main Jul 20, 2023
@dergeberl dergeberl deleted the feature/loadbalancerClasses branch July 20, 2023 12:00
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.

yawol should ignore services with different loadBalancerClass
2 participants