Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add support for specifying LoadBalancer class name#15838

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
johnstcn merged 3 commits intocoder:mainfromjamezrin:main
Dec 13, 2024

Conversation

jamezrin
Copy link
Contributor

@jamezrinjamezrin commentedDec 11, 2024
edited
Loading

This PR adds support for configuring the loadBalancerClass via the chart values.

@cdr-botcdr-botbot added the communityPull Requests and issues created by the community. labelDec 11, 2024
@github-actionsGitHub Actions
Copy link

github-actionsbot commentedDec 11, 2024
edited
Loading

All contributors have signed the CLA ✍️ ✅
Posted by theCLA Assistant Lite bot.

@jamezrin
Copy link
ContributorAuthor

I have read the CLA Document and I hereby sign the CLA

cdrci2 added a commit to coder/cla that referenced this pull requestDec 11, 2024
@jamezrinjamezrin changed the titleAdd support for specifying LoadBalancer class namefeat: Add support for specifying LoadBalancer class nameDec 11, 2024
@jamezrinjamezrin changed the titlefeat: Add support for specifying LoadBalancer class namefeat: add support for specifying LoadBalancer class nameDec 11, 2024
@@ -281,6 +281,9 @@ coder:
# your cloud and specify it here in production to avoid accidental IP
# address changes.
loadBalancerIP: ""
# coder.service.className -- The class name of the LoadBalancer. See:
# https://kubernetes.io/docs/concepts/services-networking/service/#load-balancer-class
className: ""
Copy link
Member

Choose a reason for hiding this comment

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

Can this be changed toloadBalancerClass to match the field in the k8s yaml?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Done

Copy link
Member

@johnstcnjohnstcn left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

Before merging, please add some new test cases to cover this new field:

  • Add a corresponding values YAML and golden file inhelm/coder/tests/testdata/. You can copy an existing golden file and modify it to suit.
  • Add the corresponding test case inhelm/coder/tests/chart_test.go
  • Modify the golden file and/or changes until the output is as expected.

I would also suggest modifying the service template such that if new field is not specified, no changes should be made to existing test cases.

I also agree with@deansheather 's suggestion regarding the naming of the new field.

Thanks!

@jamezrin
Copy link
ContributorAuthor

Thanks for reviewing, I made the changes. The tests are passing locally, but I don't think the CI is running them, is that normal?

@johnstcn
Copy link
Member

Thanks for reviewing, I made the changes. The tests are passing locally, but I don't think the CI is running them, is that normal?

It is! I just pushed the button to make them run.

jamezrin reacted with thumbs up emoji

@johnstcnjohnstcn merged commitd504e0e intocoder:mainDec 13, 2024
29 checks passed
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsDec 13, 2024
@johnstcn
Copy link
Member

Merged, thanks@jamezrin !

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@jamezrinjamezrin

Labels
communityPull Requests and issues created by the community.
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@jamezrin@johnstcn@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp