Skip to content

Commit ac266ba

Browse files
(chore): update e2e workflow (#53)
* (chore): update e2e workflow * (chore): add additional inputs * (fix): use correct commit sha of helm-kind action * (chore): pin kind cli version
1 parent 7c0944b commit ac266ba

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

workflows/e2e/action.yaml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ inputs:
99
description: "The kind cluster name"
1010
required: false
1111
default: "greenhouse-remote"
12-
k8s-version:
13-
description: "The Kubernetes version used to spin up clusters"
12+
remote-k8s-version:
13+
description: "The Kubernetes version used to spin up remote cluster"
14+
required: true
15+
admin-k8s-version:
16+
description: "The Kubernetes version used to spin up admin cluster"
1417
required: true
1518
admin-config:
1619
description: "The kind cluster configuration file for admin cluster"
@@ -44,10 +47,11 @@ runs:
4447

4548
# Create the admin cluster with latest kubernetes version
4649
- name: Create Admin Cluster
47-
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
50+
uses: helm/kind-action@92086f6be054225fa813e0a4b13787fc9088faab # v1.13.0
4851
with:
52+
version: 'v0.31.0'
4953
cluster_name: ${{ inputs.admin-cluster-name }}
50-
node_image: 'kindest/node:v1.33.4'
54+
node_image: 'kindest/node:${{ inputs.admin-k8s-version }}'
5155
config: ${{ inputs.admin-config }}
5256

5357
# after admin cluster setup, extract the apiServer CA from kube-root-ca.crt configmap (needed for remote cluster OIDC setup)
@@ -68,9 +72,10 @@ runs:
6872
6973
# Create the remote cluster with kubernetes version from the matrix
7074
- name: Create Remote Cluster
71-
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
75+
uses: helm/kind-action@92086f6be054225fa813e0a4b13787fc9088faab # v1.13.0
7276
with:
73-
node_image: 'kindest/node:${{ inputs.k8s-version }}'
77+
version: 'v0.31.0'
78+
node_image: 'kindest/node:${{ inputs.remote-k8s-version }}'
7479
cluster_name: ${{ inputs.remote-cluster-name }}
7580
config: ${{ inputs.remote-config }}
7681

0 commit comments

Comments
 (0)