Skip to content

Conversation

@wondertroy
Copy link
Contributor

This PR

Openfeature operator controller manager needs to be able to update pod disruption budgets as replica counts can be updated

  • add update verb to manager role for pod disruption budgets

Related Issues

#717

Notes

After deploying v0.8.1 I noticed these new permissions were not in the role. I think I've missed some required change to get these reconciled in to the role resource.

Follow-up Tasks

  • double check that this get's reconciled to role when updating versions / installing through helm.

How to test

  • Install via helm to a cluster
  • include flagdProxyConfiguration.replicaCount=2 in helm configuration in values
  • add a flagd-proxy FlagSourceConfiguration
  • watch openfeature operator controller manager logs, validate PodDisruptionBudget gets updated to have max 2 pods

Background
---
Openfeature operator controller manager needs to be able to update pod disruption budgets as replica counts can be updated

Changes
---
* add update verb to manager role for pod disruption budgets

Signed-off-by: woodyh <[email protected]>
@wondertroy wondertroy requested a review from a team November 6, 2024 01:24
@wondertroy wondertroy changed the title Add missing poddisruptionbudget update verb fix: Add missing poddisruptionbudget update verb Nov 6, 2024
@codecov
Copy link

codecov bot commented Nov 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.25%. Comparing base (499661e) to head (9e0fdc6).
Report is 34 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #722      +/-   ##
==========================================
- Coverage   86.51%   86.25%   -0.26%     
==========================================
  Files          19       19              
  Lines        1587     1681      +94     
==========================================
+ Hits         1373     1450      +77     
- Misses        173      184      +11     
- Partials       41       47       +6     

see 3 files with indirect coverage changes

Flag Coverage Δ
unit-tests 86.25% <ø> (-0.26%) ⬇️

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

@beeme1mr beeme1mr merged commit 9b8e8c3 into open-feature:main Jan 13, 2025
17 checks passed
@github-actions github-actions bot mentioned this pull request Jan 13, 2025
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.

4 participants