Skip to content

fix(values): make Controller values untyped #14205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 24, 2025
Merged

Conversation

wim-de-groot
Copy link
Contributor

Make Controller value untyped because its consistent with the field DeploymentStrategy and it allows for % based PDB.

Fixes: #13243

@wim-de-groot wim-de-groot requested a review from a team as a code owner July 3, 2025 17:00
Copy link
Member

@adleong adleong left a comment

Choose a reason for hiding this comment

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

Thanks @wim-de-groot!

Using a percentage in values_test.go makes sense so that we get test coverage. For the actual maxUnavailable value in values.yaml, let's keep this at the most conservative values of 1.

@wim-de-groot wim-de-groot force-pushed the main branch 2 times, most recently from f510820 to 3c98469 Compare July 4, 2025 16:01
@wim-de-groot
Copy link
Contributor Author

Thanks @adleong for the feedback, I added an other parsing test. I think that should do the trick.

Make Controller value untyped because its consistent with the field DeploymentStrategy and it allows for % based PDB.

Refs: linkerd#13243
Signed-off-by: Wim de Groot <34519486+wim-de-groot@users.noreply.github.com>
@wim-de-groot wim-de-groot requested a review from adleong July 12, 2025 17:17
@wim-de-groot
Copy link
Contributor Author

@adleong any update on when this can be reviewed?

@cratelyn
Copy link
Contributor

hi @wim-de-groot, Alex is currently out of office. she'll be able to review this once she's back, thanks for your patience. ❤️

@adleong
Copy link
Member

adleong commented Jul 24, 2025

@wim-de-groot thanks for all the patience!

@adleong adleong merged commit ebc5b23 into linkerd:main Jul 24, 2025
43 of 46 checks passed
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.

Linkerd helm not enforcing PDB values type
3 participants