Skip to content

feat: allow chart deployment strategy#1190

Open
siryur wants to merge 1 commit intohetznercloud:mainfrom
siryur:feat/chart-with-deployment-strategy
Open

feat: allow chart deployment strategy#1190
siryur wants to merge 1 commit intohetznercloud:mainfrom
siryur:feat/chart-with-deployment-strategy

Conversation

@siryur
Copy link

@siryur siryur commented Mar 18, 2026

This pull request introduces support for customizing the deployment
strategy in the Helm chart.
The main enhancement allows users to specify deployment strategies,
such as Replace, allowing an existing Pod to be destroyed before the
new one is allocated.

  • Added support for specifying a custom deployment strategy in the
    deployment.yaml template, which will use the values provided in
    .Values.strategy.

Fixes #1189

@siryur siryur requested a review from a team as a code owner March 18, 2026 14:51
@siryur siryur changed the title Allow chart deployment strategy feat: allow chart deployment strategy Mar 18, 2026
app.kubernetes.io/name: '{{ include "hcloud-cloud-controller-manager.name" $ }}'
app.kubernetes.io/instance: "{{ $.Release.Name }}"

# strategy:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# strategy:
# Deployment strategy for the hccm Pod.
# See https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
strategy: {}

@lukasmetzner
Copy link
Contributor

Hey, thank you for the contribution. I just approved the workflows to run. The e2e tests will fail due to permission issues. This is expected.

@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.67%. Comparing base (0064e44) to head (67a58b7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1190      +/-   ##
==========================================
- Coverage   69.25%   65.67%   -3.58%     
==========================================
  Files          24       24              
  Lines        2657     2657              
==========================================
- Hits         1840     1745      -95     
- Misses        643      744     +101     
+ Partials      174      168       -6     
Flag Coverage Δ
e2e ?
unit 65.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

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.

Blocked Pod on recreation

2 participants