talos 1.9 (#578)

- Update Talos v1.9.1
- add: disable-selinux workaround
- Replace workaround with patched Talos
- Add image testing

---------

Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
This commit is contained in:
Andrei Kvapil
2025-01-15 14:23:05 +01:00
committed by GitHub
parent 8cce943cb9
commit 5f1c2a4f7e
4 changed files with 8 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ spec:
automountServiceAccountToken: false
terminationGracePeriodSeconds: 1
containers:
- name: imagere
- name: imager
image: "{{ .Values.talos.imager.image }}"
securityContext:
privileged: true

View File

@@ -1,3 +1,3 @@
talos:
imager:
image: ghcr.io/siderolabs/imager:v1.8.4
image: ghcr.io/kvaps/talos/imager:v1.9.1-1-gac655f2d3-dirty

View File

@@ -19,8 +19,8 @@ diff:
update:
hack/gen-profiles.sh
IMAGE=$$(awk '/^version:/ {print $$2}' images/talos/profiles/installer.yaml) \
yq -i '.talos.imager.image = "ghcr.io/siderolabs/imager:" + strenv(IMAGE)' ../builder/values.yaml
IMAGE=$$(yq '.input.baseInstaller.imageRef | sub("/installer:", "/imager:")' images/talos/profiles/installer.yaml) \
yq -i '.talos.imager.image = strenv(IMAGE)' ../builder/values.yaml
image: pre-checks image-cozystack image-talos image-matchbox

View File

@@ -36,7 +36,10 @@ image-e2e-sandbox:
copy-hack-dir:
tar -C ../../../ -cf- hack | kubectl exec -i -n $(NAMESPACE) deploy/cozystack-e2e-$(NAME) -- tar -xf-
test: wait-for-sandbox copy-hack-dir ## Run the end-to-end tests in existing sandbox.
copy-image:
cat ../../../_out/assets/nocloud-amd64.raw.xz | kubectl exec -i -n $(NAMESPACE) deploy/cozystack-e2e-$(NAME) -- sh -xec 'xz --decompress > /nocloud-amd64.raw'
test: wait-for-sandbox copy-hack-dir copy-image ## Run the end-to-end tests in existing sandbox.
helm template -n cozy-system installer ../installer | kubectl exec -i -n $(NAMESPACE) deploy/cozystack-e2e-$(NAME) -- sh -c 'cat > /cozystack-installer.yaml'
kubectl exec -ti -n $(NAMESPACE) deploy/cozystack-e2e-$(NAME) -- sh -c 'export COZYSTACK_INSTALLER_YAML=$$(cat /cozystack-installer.yaml) && /hack/e2e.sh'