|
9 | 9 | description: "The kind cluster name" |
10 | 10 | required: false |
11 | 11 | 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" |
14 | 17 | required: true |
15 | 18 | admin-config: |
16 | 19 | description: "The kind cluster configuration file for admin cluster" |
@@ -44,10 +47,11 @@ runs: |
44 | 47 |
|
45 | 48 | # Create the admin cluster with latest kubernetes version |
46 | 49 | - name: Create Admin Cluster |
47 | | - uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0 |
| 50 | + uses: helm/kind-action@92086f6be054225fa813e0a4b13787fc9088faab # v1.13.0 |
48 | 51 | with: |
| 52 | + version: 'v0.31.0' |
49 | 53 | cluster_name: ${{ inputs.admin-cluster-name }} |
50 | | - node_image: 'kindest/node:v1.33.4' |
| 54 | + node_image: 'kindest/node:${{ inputs.admin-k8s-version }}' |
51 | 55 | config: ${{ inputs.admin-config }} |
52 | 56 |
|
53 | 57 | # after admin cluster setup, extract the apiServer CA from kube-root-ca.crt configmap (needed for remote cluster OIDC setup) |
|
68 | 72 |
|
69 | 73 | # Create the remote cluster with kubernetes version from the matrix |
70 | 74 | - name: Create Remote Cluster |
71 | | - uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0 |
| 75 | + uses: helm/kind-action@92086f6be054225fa813e0a4b13787fc9088faab # v1.13.0 |
72 | 76 | with: |
73 | | - node_image: 'kindest/node:${{ inputs.k8s-version }}' |
| 77 | + version: 'v0.31.0' |
| 78 | + node_image: 'kindest/node:${{ inputs.remote-k8s-version }}' |
74 | 79 | cluster_name: ${{ inputs.remote-cluster-name }} |
75 | 80 | config: ${{ inputs.remote-config }} |
76 | 81 |
|
|
0 commit comments