Skip to content

fix(values): make Controller values untyped#14205

Merged
adleong merged 2 commits into
linkerd:mainfrom
wim-de-groot:main
Jul 24, 2025
Merged

fix(values): make Controller values untyped#14205
adleong merged 2 commits into
linkerd:mainfrom
wim-de-groot:main

Conversation

@wim-de-groot

Copy link
Copy Markdown
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

@adleong adleong left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
Contributor Author

@adleong any update on when this can be reviewed?

@cratelyn

Copy link
Copy Markdown
Member

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

adleong commented Jul 24, 2025

Copy link
Copy Markdown
Member

@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