Skip to content

fix: only send load balancer service certificates when defined - #690

Merged
jooola merged 2 commits into
mainfrom
lb-service-unexpected-changes
Sep 16, 2026
Merged

jooola merged 2 commits into
mainfrom
lb-service-unexpected-changes

Conversation

@jooola

@jooola jooola commented Sep 16, 2026

Copy link
Copy Markdown
Member

The to_payload method was always adding the load balancer services certificates to the payload, which is not an expected behavior if we want to support partial updates.

The to_payload function was always adding the certificates to the payload, which is not an expected behavior if we want to support partial updates.
@codecov

codecov Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.12%. Comparing base (1d7dea6) to head (bad1dd3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #690   +/-   ##
=======================================
  Coverage   97.12%   97.12%           
=======================================
  Files          76       76           
  Lines        4098     4099    +1     
=======================================
+ Hits         3980     3981    +1     
  Misses        118      118           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jooola
jooola merged commit c6bc24a into main Sep 16, 2026
11 checks passed
@jooola
jooola deleted the lb-service-unexpected-changes branch September 16, 2026 19:14
jooola pushed a commit that referenced this pull request Sep 17, 2026
<!-- section-start changelog -->
### Features

- list network members (#687)
([9d5d21d](9d5d21d))

### Bug Fixes

- only send load balancer service certificates when defined (#690)
([c6bc24a](c6bc24a))

<!-- section-end changelog -->

---

<details>
<summary><h4>PR by <a
href="https://github.com/apricote/releaser-pleaser">releaser-pleaser</a>
🤖</h4></summary>

If you want to modify the proposed release, add you overrides here. You
can learn more about the options in the docs.

## Release Notes

### Prefix / Start

This will be added to the start of the release notes.

~~~~rp-prefix
~~~~

### Suffix / End

This will be added to the end of the release notes.

~~~~rp-suffix
~~~~

</details>

Co-authored-by: Hetzner Cloud Bot <>
jooola added a commit to ansible-collections/hetzner.hcloud that referenced this pull request Sep 17, 2026
…uments (#870)

##### SUMMARY



- Modernize the module to simplify the code
- Fix the module always reporting a change when the `http` or
`health_check` arguments were set, even when the current configuration
already matched the desired state.

Closes #415

##### ISSUE TYPE

- Bugfix Pull Request


##### COMPONENT NAME
load_balancer_service

##### ADDITIONAL INFORMATION

This PR depends on
hetznercloud/hcloud-python#690.
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.

1 participant