Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions workflows/e2e/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ inputs:
description: "The kind cluster name"
required: false
default: "greenhouse-remote"
k8s-version:
description: "The Kubernetes version used to spin up clusters"
remote-k8s-version:
description: "The Kubernetes version used to spin up remote cluster"
required: true
admin-k8s-version:
description: "The Kubernetes version used to spin up admin cluster"
required: true
admin-config:
description: "The kind cluster configuration file for admin cluster"
Expand Down Expand Up @@ -44,10 +47,11 @@ runs:

# Create the admin cluster with latest kubernetes version
- name: Create Admin Cluster
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
uses: helm/kind-action@92086f6be054225fa813e0a4b13787fc9088faab # v1.13.0
with:
version: 'v0.31.0'
cluster_name: ${{ inputs.admin-cluster-name }}
node_image: 'kindest/node:v1.33.4'
node_image: 'kindest/node:${{ inputs.admin-k8s-version }}'
config: ${{ inputs.admin-config }}

# after admin cluster setup, extract the apiServer CA from kube-root-ca.crt configmap (needed for remote cluster OIDC setup)
Expand All @@ -68,9 +72,10 @@ runs:

# Create the remote cluster with kubernetes version from the matrix
- name: Create Remote Cluster
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
uses: helm/kind-action@92086f6be054225fa813e0a4b13787fc9088faab # v1.13.0
with:
node_image: 'kindest/node:${{ inputs.k8s-version }}'
version: 'v0.31.0'
node_image: 'kindest/node:${{ inputs.remote-k8s-version }}'
cluster_name: ${{ inputs.remote-cluster-name }}
config: ${{ inputs.remote-config }}

Expand Down