diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index ded57be..98081cc 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -17,11 +17,7 @@ jobs: strategy: matrix: image: ["ghcr.io/defenseunicorns/oss/uds-k3d-k3s"] - version: ["v1.27.11-k3s1", "v1.28.7-k3s1", "v1.29.2-k3s1"] - # Test the default image as well - include: - - image: "rancher/k3s" - version: "v1.27.4-k3s1" + version: ["v1.27.13-k3s1", "v1.28.9-k3s1", "v1.29.4-k3s1"] steps: - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4 @@ -35,10 +31,10 @@ jobs: - name: Build the custom k3s image if: ${{matrix.image}} != "rancher/k3s" - run: uds run build-image --set VERSION=${{matrix.version}} + run: uds run build-image --set VERSION=${{matrix.version}} --no-progress - name: Create and deploy the uds-k3d package - run: uds run --set IMAGE_NAME=${{matrix.image}} --set VERSION=${{matrix.version}} + run: uds run --set IMAGE_NAME=${{matrix.image}} --set VERSION=${{matrix.version}} --no-progress - name: Validate uds-k3d package - run: uds run validate + run: uds run validate --no-progress diff --git a/.github/workflows/publish-image.yaml b/.github/workflows/publish-image.yaml index 00b7025..782a2d3 100644 --- a/.github/workflows/publish-image.yaml +++ b/.github/workflows/publish-image.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - version: ["v1.27.11-k3s1", "v1.28.7-k3s1", "v1.29.2-k3s1"] + version: ["v1.27.13-k3s1", "v1.28.9-k3s1", "v1.29.4-k3s1"] permissions: contents: read @@ -39,4 +39,4 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Publish the custom k3s image - run: uds run publish-image --set VERSION=${{matrix.version}} + run: uds run publish-image --set VERSION=${{matrix.version}} --no-progress diff --git a/chart/templates/nginx.yaml b/chart/templates/nginx.yaml index f51b498..a3930c1 100644 --- a/chart/templates/nginx.yaml +++ b/chart/templates/nginx.yaml @@ -71,9 +71,9 @@ spec: command: ["nginx", "-g", "daemon off;"] ports: - containerPort: 80 - hostPort: 20080 + hostPort: 80 - containerPort: 443 - hostPort: 20443 + hostPort: 443 volumeMounts: - name: config-volume mountPath: /etc/nginx/nginx.conf diff --git a/docker/Dockerfile b/docker/Dockerfile index 85670f8..3746d94 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,4 +1,4 @@ -ARG K3S_TAG="v1.28.7-k3s1" +ARG K3S_TAG="v1.28.9-k3s1" FROM rancher/k3s:$K3S_TAG as k3s diff --git a/tasks.yaml b/tasks.yaml index af55fe8..33ff7ca 100644 --- a/tasks.yaml +++ b/tasks.yaml @@ -1,18 +1,20 @@ variables: - name: VERSION - default: "v1.28.7-k3s1" + default: "v1.28.9-k3s1" - name: IMAGE_NAME default: "ghcr.io/defenseunicorns/oss/uds-k3d-k3s" + - name: K3D_EXTRA_ARGS + default: "" tasks: - name: default description: "Build and deploy uds-k3d" actions: - description: "Build UDS K3d package" - cmd: "uds zarf package create --confirm" + cmd: "uds zarf package create --confirm --no-progress" - description: "Deploy UDS K3d package" - cmd: "uds zarf package deploy zarf-package-uds-k3d-*.tar.zst --confirm --set K3D_IMAGE=${IMAGE_NAME}:${VERSION}" + cmd: "uds zarf package deploy zarf-package-uds-k3d-*.tar.zst --confirm --set K3D_IMAGE=${IMAGE_NAME}:${VERSION} --set K3D_EXTRA_ARGS=\"${K3D_EXTRA_ARGS}\" --no-progress" - name: validate actions: @@ -36,10 +38,9 @@ tasks: - description: Validate zarf init cmd: | set -e - # uds zarf tools download-init does not work in 0.9.4 - https://github.com/defenseunicorns/uds-cli/issues/517 - uds zarf package pull oci://ghcr.io/defenseunicorns/packages/init:$(uds zarf version) + uds zarf tools download-init --no-progress # Test zarf init due to containerd issue - https://github.com/defenseunicorns/zarf/issues/592 - uds zarf init --confirm + uds zarf init --confirm --no-progress - name: build-image actions: diff --git a/zarf.yaml b/zarf.yaml index 5bf9df5..66499de 100644 --- a/zarf.yaml +++ b/zarf.yaml @@ -17,7 +17,7 @@ variables: - name: K3D_IMAGE description: "K3d image to use" - default: "rancher/k3s:v1.27.4-k3s1" + default: "ghcr.io/defenseunicorns/oss/uds-k3d-k3s:v1.28.9-k3s1" - name: K3D_EXTRA_ARGS description: "Optionally pass k3d arguments to the default" @@ -41,8 +41,8 @@ components: before: - cmd: | k3d cluster create \ - -p "80:20080@server:*" \ - -p "443:20443@server:*" \ + -p "80:80@server:*" \ + -p "443:443@server:*" \ --api-port 6550 \ --k3s-arg "--disable=traefik@server:*" \ --k3s-arg "--disable=metrics-server@server:*" \