Skip to content

fix(chart): make minAvailable and maxUnavailable optional in redis-replication chart#1732

Open
SvenMark wants to merge 1 commit intoOT-CONTAINER-KIT:mainfrom
SvenMark:feat/helm-chart-pdb
Open

fix(chart): make minAvailable and maxUnavailable optional in redis-replication chart#1732
SvenMark wants to merge 1 commit intoOT-CONTAINER-KIT:mainfrom
SvenMark:feat/helm-chart-pdb

Conversation

@SvenMark
Copy link
Copy Markdown
Contributor

@SvenMark SvenMark commented Apr 1, 2026

Description

The poddisruptionbudget specification states that either minAvailable or maxUnavailable should be set.

When using server-side apply we get an error that maxUnavailable is set even though it is 'null' in the chart's values:

The RedisReplication "test" is invalid: spec.pdb.maxUnavailable: Invalid value: "null": spec.pdb.maxUnavailable in body must be of type integer: "null"

The provided change makes the minAvailable or maxUnavailable values optional. Either one of them could be set, but not both.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • Tests have been added/modified and all tests pass.
  • Functionality/bugs have been confirmed to be unchanged or fixed.
  • I have performed a self-review of my own code.
  • Documentation has been updated or added where necessary.

Additional Context

…plication chart

The poddisruptionbudget specification states that either minAvailable or maxUnavailable should be specified.

Signed-off-by: SvenMark <22452621+SvenMark@users.noreply.github.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@44479b3). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1732   +/-   ##
=======================================
  Coverage        ?   30.25%           
=======================================
  Files           ?       84           
  Lines           ?     6752           
  Branches        ?        0           
=======================================
  Hits            ?     2043           
  Misses          ?     4517           
  Partials        ?      192           

☔ 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.

1 participant