Skip to content

Conversation

@RottenRat
Copy link
Contributor

@RottenRat RottenRat commented Dec 16, 2025

Add a VPA check and raise an error if [UpdateMode: Auto] is specified there

Tests:

  • updateMode: Auto
🐒 [vpa (#templates)]
     Message:      VPA updateMode cannot be 'Auto'
     Module:       test-vpa-module
     Object:       kind = VerticalPodAutoscaler ; name = test-app ; namespace = test-namespace
     FilePath:     templates/deployment.yaml
  • updateMode: Recreate
    All OK

  • updateMode: Off
    All OK

Signed-off-by: Sinelnikov Michail <mikhail.sinelnikov@flant.com>
@RottenRat RottenRat self-assigned this Dec 16, 2025
@RottenRat RottenRat marked this pull request as ready for review December 16, 2025 12:29
@RottenRat RottenRat changed the title Ban UpdateMode: Auro Ban UpdateMode: Auto Dec 18, 2025
@ldmonster ldmonster added the enhancement New feature or request label Dec 18, 2025
@ldmonster ldmonster changed the title Ban UpdateMode: Auto [dmt] Ban UpdateMode: Auto Dec 18, 2025
@ldmonster ldmonster changed the title [dmt] Ban UpdateMode: Auto [dmt] restrict UpdateMode: Auto Dec 18, 2025
@ldmonster ldmonster merged commit 63e6b87 into main Dec 26, 2025
3 checks passed
@ldmonster ldmonster deleted the update-mode-auto-error branch December 26, 2025 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants