Skip to content

Commit

Permalink
ci: pin k3s image version in k3d github action (#2430)
Browse files Browse the repository at this point in the history
## Description
This PR pins the `k3s` image version used in our `k3d` action to the
same version we use for the init package:


https://github.com/defenseunicorns/zarf/blob/02389274c61b59385ac339d6d690a148878427f9/packages/distros/k3s/zarf.yaml#L17

This is to workaround the containerd bug that tries to use HTTPS
requests to pull images from Zarf's HTTP registry:

containerd/containerd#10014

Related CI failures:


https://github.com/defenseunicorns/zarf/actions/runs/8621639619/job/23631060696?pr=2315

https://github.com/defenseunicorns/zarf/actions/runs/8619947296/job/23632023109?pr=2429

## Checklist before merging

- [x] Test, docs, adr added or updated as needed
- [x] [Contributor Guide
Steps](https://github.com/defenseunicorns/zarf/blob/main/CONTRIBUTING.md#developer-workflow)
followed
  • Loading branch information
lucasrod16 committed Apr 9, 2024
1 parent 0238927 commit 4b54a69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/k3d/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ runs:
- run: "curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash"
shell: bash

- run: k3d cluster delete && k3d cluster create --k3s-arg="--disable=traefik@server:0"
- run: k3d cluster delete && k3d cluster create --k3s-arg="--disable=traefik@server:0" --image="rancher/k3s:v1.28.4-k3s2"
shell: bash

0 comments on commit 4b54a69

Please sign in to comment.