mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-05 22:53:43 +09:00
fix(kubernetes): refuse Proxmox template tags naming another Talos
On Proxmox the template the tags select is the worker's boot disk, and talos.version reaches only the installer in the machineconfig. The bump of the default changes that machineconfig and rolls every pool, so a pool still tagged for the previous release would clone the old template and keep the vulnerable kernel while its config names the fixed one. The template script tags each template talos-<version>, which is the one link the chart can check; a tag set naming no release is left to the operator. Assisted-by: LLM Signed-off-by: Mattia Eleuteri <mattia@hidora.io>
This commit is contained in:
1 parent
470e4c55a7
commit
d65fe65f0f
8 files changed
+66
-22
No files matched your search
@@ -4,9 +4,10 @@
|
||||
#
|
||||
# The chart takes no image on that substrate: capmox clones whichever template
|
||||
# carries the pool's proxmox.templateTags, and the pool's talos.* values reach
|
||||
# only the installer written into the worker machineconfig. Nothing compares the
|
||||
# two, so the template is built here from the same talos.version and
|
||||
# talos.schematicID the chart renders, read from its values.yaml.
|
||||
# only the installer written into the worker machineconfig. The chart compares
|
||||
# the two only through the talos-<version> tag this script adds, so the template
|
||||
# is built here from the same talos.version and talos.schematicID the chart
|
||||
# renders, read from its values.yaml.
|
||||
#
|
||||
# Two images that look right are not:
|
||||
# - the platform release's nocloud-amd64.raw.xz is the bare-metal node image.
|
||||
|
||||
Reference in new issue
Block a user