test(kubernetes-nodes): isolate Talos version fixtures from defaults (#5552)

## What this PR does

Talos patch bumps require edits to tests unrelated to the shipped
version. I gave those tests explicit versions and added a separate
assertion for the default. The render snapshot and worker-image catalog
check stay unchanged.

Closes #5456.

Validation: 293 Helm tests and 12 snapshots pass. Changing the default
patch release in a chart copy fails only the render snapshot and the new
default assertion. The full local Bats run fails the same tests as on
`main`.

Helm lint reports the same icon URL and cozy-lib dependency errors on
the base chart. The pre-commit package-generation hook could not run
because flock is unavailable.

### Screenshots

Not applicable (test-only change).

### Downstream repositories

- [x] No downstream repository is affected by this change
- [ ] [cozystack/website](https://github.com/cozystack/website) -
follow-up:
- [ ]
[cozystack/terraform-provider-cozystack](https://github.com/cozystack/terraform-provider-cozystack)
- follow-up:
- [ ]
[cozystack/ansible-cozystack](https://github.com/cozystack/ansible-cozystack)
- follow-up:
- [ ] [cozystack/ccp](https://github.com/cozystack/ccp) - follow-up:
- [ ] [cozystack/talm](https://github.com/cozystack/talm) - follow-up:
- [ ] [cozystack/cozyhr](https://github.com/cozystack/cozyhr) -
follow-up:
- [ ] [cozystack/cozy-proxy](https://github.com/cozystack/cozy-proxy) -
follow-up:
- [ ]
[cozystack/cozystack-telemetry-server](https://github.com/cozystack/cozystack-telemetry-server)
- follow-up:
- [ ]
[cozystack/external-apps-example](https://github.com/cozystack/external-apps-example)
- follow-up:
- [ ] [cozystack/examples](https://github.com/cozystack/examples) -
follow-up:
- [ ] [cozystack/community](https://github.com/cozystack/community) -
follow-up:

### Release note

```release-note
NONE
```


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Tests**
* Expanded Kubernetes node chart coverage for default Talos image URLs,
image selection, template tags, and storage-class behavior.
* Updated test scenarios to pin Talos versions explicitly, keeping
expected image names and template hashes consistent with each scenario.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Aleksei Sviridkin authored and GitHub committed 2026-12-03 19:10:31 +03:00
commit 288c564f58
15 files changed
+84 -38

No files matched your search

+3 -2
View File
@@ -27,6 +27,7 @@ render_pool() {
fi
helm template kubernetes-nodes-myk8s-md0 "$copy" --namespace tenant-test \
--skip-schema-validation \
--set talos.version=v1.13.6 \
--set cluster=myk8s \
--set _cluster.cluster-domain=cozy.local \
--set minReplicas=1 --set maxReplicas=3 \
@@ -42,10 +43,10 @@ render_pool() {
@test "a Kubernetes version outside the row of talos.version is refused" {
if out=$(render_pool --set version=v1.30); then
echo "render succeeded with Kubernetes v1.30 on the default Talos" >&2
echo "render succeeded with Kubernetes v1.30 on Talos v1.13.6" >&2
return 1
fi
printf '%s\n' "$out" | grep -qF "Kubernetes v1.30 is not supported by Talos v1.13.12. Supported versions: [v1.31 v1.32 v1.33 v1.34 v1.35 v1.36]. Bump 'version' or set talos.version explicitly." \
printf '%s\n' "$out" | grep -qF "Kubernetes v1.30 is not supported by Talos v1.13.6. Supported versions: [v1.31 v1.32 v1.33 v1.34 v1.35 v1.36]. Bump 'version' or set talos.version explicitly." \
|| { echo "$out" >&2; return 1; }
}
+4 -4
View File
@@ -159,10 +159,10 @@ EOF
@test "a template already carrying the same tag set stops the program before the download" {
stub="$(mktemp -d)"
stub_pve "$stub"
printf '[{"vmid":9000,"name":"old","node":"pve1","template":1,"tags":"talos-v1.13.12;Talos;schematic-%s;cozystack"}]' \
printf '[{"vmid":9000,"name":"old","node":"pve1","template":1,"tags":"talos-v1.13.0;Talos;schematic-%s;cozystack"}]' \
"$(chart schematicID | cut -c1-8)" > "$stub/resources.json"
rc=0
out="$("$SCRIPT" print 9002 main-pool | PATH="$stub:$PATH" TMPDIR="$stub" sh 2>&1)" || rc=$?
out="$(COZY_TALOS_VERSION=v1.13.0 "$SCRIPT" print 9002 main-pool | PATH="$stub:$PATH" TMPDIR="$stub" sh 2>&1)" || rc=$?
calls="$(cat "$stub/calls")"
[ "$rc" -ne 0 ]
case "$out" in *"already carries"*"9000 (old) on pve1"*) ;; *) echo "$out" >&2; exit 1 ;; esac
@@ -173,9 +173,9 @@ EOF
@test "a template whose tags are a superset does not count, and the template is built" {
stub="$(mktemp -d)"
stub_pve "$stub"
printf '[{"vmid":9000,"name":"old","node":"pve1","template":1,"tags":"cozystack;schematic-%s;talos;talos-v1.13.12;zfs"},{"vmid":101,"name":"vm","node":"pve1","template":0}]' \
printf '[{"vmid":9000,"name":"old","node":"pve1","template":1,"tags":"cozystack;schematic-%s;talos;talos-v1.13.0;zfs"},{"vmid":101,"name":"vm","node":"pve1","template":0}]' \
"$(chart schematicID | cut -c1-8)" > "$stub/resources.json"
"$SCRIPT" print 9002 main-pool | PATH="$stub:$PATH" TMPDIR="$stub" sh >/dev/null
COZY_TALOS_VERSION=v1.13.0 "$SCRIPT" print 9002 main-pool | PATH="$stub:$PATH" TMPDIR="$stub" sh >/dev/null
calls="$(cat "$stub/calls")"
printf '%s\n' "$calls" | grep -q '^curl .*/nocloud-amd64.raw.xz$'
printf '%s\n' "$calls" | grep -qE '^qm create 9002 .*--scsi0 main-pool:0,import-from=[^ ]*/disk.raw,'
+5 -3
View File
@@ -102,6 +102,8 @@ cluster: myk8s
_cluster:
cluster-domain: cozy.local
version: "v1.35"
talos:
version: v1.13.0
minReplicas: 0
maxReplicas: 3
instanceType: ""
@@ -142,9 +144,9 @@ VALS
out=$(sh "$work/heredoc.sh" 2>"$work/err") || { echo "kubernetes-nodes heredoc shell exited non-zero" >&2; cat "$work/err" >&2; rm -rf "$work"; exit 1; }
[ -n "$out" ] || { echo "kubernetes-nodes heredoc emitted no output" >&2; rm -rf "$work"; exit 1; }
printf '%s' "$out" | grep -qF 'registry.example.com:5000/talos@mirror/installer' || { echo "kubernetes-nodes installerRepository was not preserved literally" >&2; rm -rf "$work"; exit 1; }
# The default version still reaches both of its sites, so narrowing this test
# The fixture version still reaches both of its sites, so narrowing this test
# to installerRepository did not quietly drop the two-site assertion.
[ "$(printf '%s' "$out" | grep -cF 'v1.13.12')" -ge 2 ] || { echo "kubernetes-nodes talos.version did not reach both sites" >&2; printf '%s\n' "$out" | grep -iE 'talosVersion|image:' >&2; rm -rf "$work"; exit 1; }
[ "$(printf '%s' "$out" | grep -cF 'v1.13.0')" -ge 2 ] || { echo "kubernetes-nodes talos.version did not reach both sites" >&2; printf '%s\n' "$out" | grep -iE 'talosVersion|image:' >&2; rm -rf "$work"; exit 1; }
# A registry given as a bracketed IPv6 address is accepted too, and the
# machine config still reads the installer image back as one string.
helm template kubernetes-nodes-myk8s-md0 packages/apps/kubernetes-nodes -n tenant-test -f "$work/vals.yaml" \
@@ -160,7 +162,7 @@ VALS
' "$work/cmd.sh" > "$work/heredoc.sh"
image=$(sh "$work/heredoc.sh" | yq '.spec.template.spec.data | from_yaml | .machine.install.image') \
|| { echo "kubernetes-nodes machine config with a bracketed IPv6 registry does not parse" >&2; rm -rf "$work"; exit 1; }
[ "$image" = "[fd00::1]:5000/talos/installer/ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515:v1.13.12" ] \
[ "$image" = "[fd00::1]:5000/talos/installer/ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515:v1.13.0" ] \
|| { echo "kubernetes-nodes installer image read back as: $image" >&2; rm -rf "$work"; exit 1; }
rm -rf "$work"
}
@@ -5,6 +5,9 @@ release:
name: kubernetes-nodes-myk8s-md0
namespace: tenant-test
set:
# Pinned rather than tracking the chart default: the template-name hashes
# below were computed from this release, so a Talos bump leaves it alone.
talos.version: v1.13.12
cluster: myk8s
_cluster:
cluster-domain: cozy.local
@@ -14,6 +14,9 @@ release:
name: kubernetes-nodes-myk8s-md0
namespace: tenant-test
set:
# Pinned rather than tracking the chart default: the template-name hashes
# below were computed from this release, so a Talos bump leaves it alone.
talos.version: v1.13.12
cluster: myk8s
_cluster:
cluster-domain: cozy.local
@@ -9,6 +9,7 @@ release:
name: kubernetes-nodes-myk8s-md0
namespace: tenant-test
set:
talos.version: v1.13.0
cluster: myk8s
_cluster:
cluster-domain: cozy.local
@@ -27,7 +28,7 @@ set:
- capmox-template
- cozystack
- talos
- talos-v1.13.12
- talos-v1.13.0
full: true
network:
bridge: vmbr0
@@ -65,7 +66,7 @@ tests:
- capmox-template
- cozystack
- talos
- talos-v1.13.12
- talos-v1.13.0
- it: sizes the VM from resources, the only sizing source Proxmox has
documentSelector:
@@ -140,7 +141,7 @@ tests:
proxmox.templateTags: [capmox-template, cozystack, talos, talos-v1.13.6]
asserts:
- failedTemplate:
errorPattern: 'proxmox.templateTags selects a template tagged "talos-v1.13.6", but talos.version is "v1.13.12"'
errorPattern: 'proxmox.templateTags selects a template tagged "talos-v1.13.6", but talos.version is "v1.13.0"'
- it: accepts template tags that name the release talos.version pins
set:
@@ -0,0 +1,28 @@
suite: shipped default Talos version
templates:
- templates/nodegroup.yaml
release:
name: kubernetes-nodes-myk8s-md0
namespace: tenant-test
set:
cluster: myk8s
_cluster:
cluster-domain: cozy.local
version: "v1.35"
instanceType: ""
resources:
cpu: "2"
memory: 4Gi
tests:
- it: imports the shipped default Talos release when no version is set
documentSelector:
path: kind
value: KubevirtMachineTemplate
asserts:
- matchRegex:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].spec.source.http.url
pattern: '/v1\.13\.12/openstack-amd64\.raw\.xz$'
@@ -40,6 +40,7 @@ release:
namespace: tenant-test
set:
talos.version: v1.13.0
cluster: myk8s
_cluster:
cluster-domain: cozy.local
@@ -82,12 +83,12 @@ kubernetesProvider:
- kind: KubevirtMachineTemplate
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
metadata: {name: ignored-kmt, namespace: tenant-test}
# The golden for the default talos.*, so the osImage.builtin cases have a
# The golden for the suite's talos.*, so the osImage.builtin cases have a
# populated source to clone.
- kind: DataVolume
apiVersion: cdi.kubevirt.io/v1beta1
metadata:
name: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
name: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
namespace: cozy-public
spec:
storage:
@@ -277,7 +278,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].spec.source.pvc.name
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
documentSelector: {path: kind, value: KubevirtMachineTemplate}
- notExists:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].spec.source.http
@@ -18,6 +18,9 @@ release:
name: kubernetes-nodes-myk8s-md0
namespace: tenant-test
set:
# Pinned rather than tracking the chart default: the template-name hashes
# below were computed from this release, so a Talos bump leaves it alone.
talos.version: v1.13.12
cluster: myk8s
_cluster:
cluster-domain: cozy.local
@@ -11,6 +11,7 @@ release:
namespace: tenant-test
set:
talos.version: v1.13.0
cluster: myk8s
_cluster:
cluster-domain: cozy.local
@@ -63,7 +64,7 @@ kubernetesProvider:
- kind: DataVolume
apiVersion: cdi.kubevirt.io/v1beta1
metadata:
name: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
name: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
namespace: cozy-public
spec:
storage:
@@ -16,6 +16,7 @@ release:
namespace: tenant-test
set:
talos.version: v1.13.0
cluster: myk8s
_cluster:
cluster-domain: cozy.local
@@ -88,11 +89,11 @@ kubernetesProvider:
apiVersion: v1
metadata: {name: talos-worker-pvcclass-v1.0.0, namespace: cozy-public}
spec: {storageClassName: local}
# The golden for the chart's default talos.*, on an explicit class.
# The golden for the suite's talos.*, on an explicit class.
- kind: DataVolume
apiVersion: cdi.kubevirt.io/v1beta1
metadata:
name: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
name: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
namespace: cozy-public
spec:
storage:
@@ -125,7 +126,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].spec.source.pvc.name
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
documentSelector: {path: kind, value: KubevirtMachineTemplate}
# Both sides empty and both resolving to the same default is still a clone.
@@ -13,6 +13,7 @@ release:
namespace: tenant-test
set:
talos.version: v1.13.0
cluster: myk8s
_cluster:
cluster-domain: cozy.local
@@ -44,7 +45,7 @@ tests:
asserts:
- matchRegex:
path: spec.template.spec.containers[0].command[2]
pattern: 'image: factory\.talos\.dev/installer/ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515:v1\.13\.12'
pattern: 'image: factory\.talos\.dev/installer/ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515:v1\.13\.0'
documentSelector: {path: kind, value: Job}
- it: install.image pins a builtin pool's schematicID/version
@@ -5,9 +5,7 @@ suite: per-pool worker image source (osImage.builtin / osImage.factory)
# - osImage.builtin -> CDI clone of the golden DataVolume in
# cozy-public (talos-worker-<schematicID>-<version>).
# The golden DataVolume and the CAPI LIST kinds are mocked via kubernetesProvider;
# lookup() is otherwise empty under `helm template`. The default talos.* is
# schematicID ce4c98…/v1.13.12, so the default golden name is
# talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12.
# lookup() is otherwise empty under `helm template`.
#
# The no-worker-roll invariant (an image-omitted pool must render a
# KubevirtMachineTemplate whose content-hash name is unchanged by this feature) is
@@ -21,6 +19,7 @@ release:
namespace: tenant-test
set:
talos.version: v1.13.0
cluster: myk8s
_cluster:
cluster-domain: cozy.local
@@ -72,14 +71,14 @@ kubernetesProvider:
- kind: KubevirtMachineTemplate
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha1
metadata: {name: ignored-kmt, namespace: tenant-test}
# The golden for the default talos.* (present and populated, so builtin clones
# The golden for the suite's talos.* (present and populated, so builtin clones
# succeed). storage 6Gi and storageClassName replicated mirror the catalog
# defaults, giving the diskSize>=golden and same-StorageClass guards real values
# to compare against; phase Succeeded satisfies the readiness gate.
- kind: DataVolume
apiVersion: cdi.kubevirt.io/v1beta1
metadata:
name: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
name: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
namespace: cozy-public
spec:
storage:
@@ -195,7 +194,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].spec.source.http.url
value: https://factory.talos.dev/image/ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515/v1.13.12/openstack-amd64.raw.xz
value: https://factory.talos.dev/image/ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515/v1.13.0/openstack-amd64.raw.xz
documentSelector: {path: kind, value: KubevirtMachineTemplate}
- equal:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].metadata.annotations
@@ -210,7 +209,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].spec.source.http.url
value: https://factory.talos.dev/image/ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515/v1.13.12/openstack-amd64.raw.xz
value: https://factory.talos.dev/image/ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515/v1.13.0/openstack-amd64.raw.xz
documentSelector: {path: kind, value: KubevirtMachineTemplate}
- it: osImage.factory overrides import from the given mirror / schematic / version
@@ -237,7 +236,7 @@ tests:
documentSelector: {path: kind, value: KubevirtMachineTemplate}
- equal:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].spec.source.pvc.name
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
documentSelector: {path: kind, value: KubevirtMachineTemplate}
# usePopulator=false is what pins the legacy import behaviour, so the clone
# path must not carry it; the golden annotation replaces it there.
@@ -248,7 +247,7 @@ tests:
# pinning a golden before deleting it.
- equal:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].metadata.annotations["kubernetes-worker-image.cozystack.io/golden"]
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
documentSelector: {path: kind, value: KubevirtMachineTemplate}
- it: osImage.builtin with an explicit schematicID/version clones that golden
@@ -256,11 +255,11 @@ tests:
osImage:
builtin:
schematicID: ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515
version: v1.13.12
version: v1.13.0
asserts:
- equal:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].spec.source.pvc.name
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
documentSelector: {path: kind, value: KubevirtMachineTemplate}
- it: osImage.builtin fails the render when the requested golden is absent
@@ -386,7 +385,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].spec.source.pvc.name
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
documentSelector: {path: kind, value: KubevirtMachineTemplate}
# The mirror of the case below, from the pool side: an empty POOL class with no
@@ -401,7 +400,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].spec.source.pvc.name
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
documentSelector: {path: kind, value: KubevirtMachineTemplate}
# A golden with no storageClassName means "the cluster default". With no default
@@ -530,7 +529,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].spec.source.pvc.name
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
documentSelector: {path: kind, value: KubevirtMachineTemplate}
- notExists:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].spec.source.http
@@ -547,7 +546,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].spec.source.pvc.name
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
documentSelector: {path: kind, value: KubevirtMachineTemplate}
# The no-osImage default DOES interpolate it, so it stays refused there. This
@@ -14,6 +14,7 @@ release:
namespace: tenant-test
set:
talos.version: v1.13.0
cluster: myk8s
_cluster:
cluster-domain: cozy.local
@@ -74,7 +75,7 @@ kubernetesProvider:
- kind: DataVolume
apiVersion: cdi.kubevirt.io/v1beta1
metadata:
name: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
name: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
namespace: cozy-public
spec:
storage:
@@ -90,7 +91,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.virtualMachineTemplate.spec.dataVolumeTemplates[0].spec.source.pvc.name
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
value: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
documentSelector: {path: kind, value: KubevirtMachineTemplate}
# The same resolved name reaches the disk, so the class the render picked and
# the class the disk binds on cannot diverge. Concatenation would surface here
@@ -15,6 +15,7 @@ release:
namespace: tenant-test
set:
talos.version: v1.13.0
cluster: myk8s
_cluster:
cluster-domain: cozy.local
@@ -78,7 +79,7 @@ kubernetesProvider:
- kind: DataVolume
apiVersion: cdi.kubevirt.io/v1beta1
metadata:
name: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.12
name: talos-worker-ce4c980550dd2ab1b17bbf2b08801c7eb59418eafe8f279833297925d67c7515-v1.13.0
namespace: cozy-public
spec:
storage: