Skip to content

fix: a kubernetes upgrade with --values applies them at the installed version - #46

Merged
blaipr merged 1 commit into
mainfrom
fix/kube-values-same-version
Nov 30, 2026
Merged

blaipr merged 1 commit into
mainfrom
fix/kube-values-same-version

Conversation

@blaipr

@blaipr blaipr commented Nov 30, 2026

Copy link
Copy Markdown
Member

What this changes

A Kubernetes upgrade applies the --values file again, but only when the version changes. At the installed version, upgrade --values said "There is nothing to upgrade", so a values file changed after an upgrade (here containers.rte.podPerJob.mounts, which 7.9.0's job pods need for files of the shared volume) could only be applied with helm upgrade by hand. On Kubernetes, upgrade --values <file> at the installed version now asks "Apply the values again to 7.9.0?", backs up the database, runs the helm upgrade with the file (kept as the one to apply from then on) and offers the rollback as an upgrade does. Without --values it still has nothing to do, and says how to apply a changed file. Four new texts, in all 11 languages.

Found while upgrading a 7.8.0 Kubernetes install (released installer, kind) to the 7.9.0 release candidate with the installer from main: the playbooks reading persistent/vars and a role of persistent/ansible/roles failed as documented, and passed once this build applied a values file listing them in podPerJob.mounts.

Checklist

  • Branch is named <type>/<description> and the title is a Conventional Commit
  • gofmt -l . prints nothing, and go vet ./... and go test ./... pass (100.0% coverage)
  • Tried the changed flow with the built binary on a test machine, or the change does not affect it
  • New or changed texts are in every language under internal/i18n/locales

@blaipr
blaipr merged commit 083a469 into main Nov 30, 2026
4 checks passed
@blaipr
blaipr deleted the fix/kube-values-same-version branch November 30, 2026 00:43
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