feat: service.{http,ssh}.loadBalancerClass #640

Open
Karitham wants to merge 3 commits from Karitham/helm-chart:main into main
First-time contributor

Description of the change

Introduce service.{http,ssh}.loadBalancerClass

Benefits

Feature was not supported before. This is required if your cluster has multiple loadBalancer options and you want to select one

Possible drawbacks

More yaml.

Checklist

  • Parameters are documented in the values.yaml and added to the README.md using readme-generator-for-helm
  • Templating unittests are added
<!-- Before you open the request please review the following guidelines and tips to help it be more easily integrated: - Describe the scope of your change - i.e. what the change does. - Describe any known limitations with your change. - Please run any tests or examples that can exercise your modified code. Thank you for contributing! We will try to review, test and integrate the change as soon as we can. --> ### Description of the change Introduce `service.{http,ssh}.loadBalancerClass` <!-- Describe the scope of your change - i.e. what the change does. --> ### Benefits <!-- What benefits will be realized by the code change? --> Feature was not supported before. This is required if your cluster has multiple loadBalancer options and you want to select one ### Possible drawbacks <!-- Describe any known limitations with your change --> More yaml. ### Checklist <!-- [Place an '[X]' (no spaces) in all applicable fields. Please remove unrelated fields.] --> - [x] Parameters are documented in the `values.yaml` and added to the `README.md` using [readme-generator-for-helm](https://github.com/bitnami-labs/readme-generator-for-helm) - [x] Templating unittests are added
Karitham added 1 commit 2024-04-15 15:56:12 +00:00
feat: service.{http,ssh}.loadBalancerClass
All checks were successful
check-and-test / check-and-test (pull_request) Successful in 43s
614d9c9b7c
Member

Thanks for contributing. It would be great to add unit tests for this feature. To ensure it is rendered correctly in different scenarios.

Thanks for contributing. It would be great to add unit tests for this feature. To ensure it is rendered correctly in different scenarios.
Karitham added 1 commit 2024-04-15 16:51:26 +00:00
add tests for loadBalancerClass and other type: LoadBalancer properties
All checks were successful
check-and-test / check-and-test (pull_request) Successful in 43s
5c098047b1
Author
First-time contributor

These tests should roughly cover the changes, namely making sure type: LoadBalancer properties aren't set when we aren't in a LoadBalancer and that loadBalancerClass exists (only) when it's set.

These tests should roughly cover the changes, namely making sure `type: LoadBalancer` properties aren't set when we aren't in a `LoadBalancer` and that `loadBalancerClass` exists (only) when it's set.
Karitham added 1 commit 2024-04-15 16:56:18 +00:00
make sure the default behavior is the same as before this feature
All checks were successful
check-and-test / check-and-test (pull_request) Successful in 38s
638d50a284
All checks were successful
check-and-test / check-and-test (pull_request) Successful in 38s
Required
Details
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u main:Karitham-main
git checkout Karitham-main
Sign in to join this conversation.
No description provided.