Update k8s versions and set minimum version to 1.27.0 (#3134)

* Update Kind Kuberntes versions
* Minimum k8s version to 1.27.0
* Pin ubuntu version in actions

---------

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Sanket Sudake
2025-01-08 12:49:54 +05:30
committed by GitHub
parent 4bce904c96
commit 6acb59f979
11 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
actions: read # for github/codeql-action/init to get workflow details
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/analyze to upload SARIF results
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
steps:
- name: Harden Runner
+1 -1
View File
@@ -14,7 +14,7 @@ permissions:
jobs:
dependency-review:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
+1 -1
View File
@@ -17,7 +17,7 @@ permissions:
jobs:
lint-dashboards:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
steps:
- name: Harden Runner
+2 -2
View File
@@ -17,7 +17,7 @@ on:
- go.sum
env:
GOLANGCI_LINT_VERSION: v1.61.0
GOLANGCI_LINT_VERSION: v1.63.4
GOLANGCI_LINT_TIMEOUT: 5m
permissions:
@@ -28,7 +28,7 @@ jobs:
permissions:
contents: read # for actions/checkout to fetch code
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
# if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-ci') }}
steps:
- name: Harden Runner
+5 -5
View File
@@ -22,8 +22,8 @@ on:
- go.sum
env:
HELM_VERSION: v3.13.0
KIND_VERSION: v0.23.0
HELM_VERSION: v3.16.4
KIND_VERSION: v0.26.0
KIND_CLUSTER_NAME: kind
permissions:
@@ -37,8 +37,8 @@ jobs:
strategy:
fail-fast: false
matrix:
kindversion: ["v1.25.16", "v1.27.13", "v1.30.0"]
os: [ubuntu-latest]
kindversion: ["v1.28.15", "v1.30.8", "v1.32.0"]
os: [ubuntu-24.04]
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
@@ -186,7 +186,7 @@ jobs:
fail-fast: false
matrix:
kindversion: ["v1.19.16"]
os: [ubuntu-latest]
os: [ubuntu-24.04]
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
+6 -6
View File
@@ -6,8 +6,8 @@ on:
- v2.**
env:
KIND_VERSION: v0.23.0
KIND_NODE_IMAGE_TAG: v1.25.16
KIND_VERSION: v0.26.0
KIND_NODE_IMAGE_TAG: v1.28.15
KIND_CLUSTER_NAME: kind
COSIGN_VERSION: v2.4.1
@@ -22,7 +22,7 @@ jobs:
contents: write # for goreleaser/goreleaser-action to create a GitHub release
packages: write # for goreleaser/goreleaser-action to upload artifacts to GitHub Packages
id-token: write # for cosign to sign the image and binary
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
@@ -160,7 +160,7 @@ jobs:
name: Create SBOM for container images
# Goreleaser does not support generating SBOM for container images.
needs: [create-draft-release]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
include: ${{ fromJson(needs.create-draft-release.outputs.ghcr_images) }}
@@ -202,7 +202,7 @@ jobs:
binary-provenance-verification-with-slsa-verifier:
name : Verify Binary Provenance
needs: [create-draft-release, binary-provenance]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: write # To download the assets from draft release.
steps:
@@ -247,7 +247,7 @@ jobs:
strategy:
matrix:
include: ${{ fromJson(needs.create-draft-release.outputs.ghcr_images) }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions: read-all
steps:
- name: Login
+1 -1
View File
@@ -20,7 +20,7 @@ permissions: read-all
jobs:
analysis:
name: Scorecard analysis
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
+4 -4
View File
@@ -22,8 +22,8 @@ on:
- go.sum
env:
HELM_VERSION: v3.13.0
KIND_VERSION: v0.23.0
HELM_VERSION: v3.16.4
KIND_VERSION: v0.26.0
KIND_CLUSTER_NAME: kind
permissions:
@@ -36,8 +36,8 @@ jobs:
strategy:
fail-fast: false
matrix:
kindversion: ["v1.25.16"]
os: [ubuntu-latest]
kindversion: ["v1.28.15"]
os: [ubuntu-24.04]
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2