From 132df289c787e76023939152f39a523389eb112b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Schw=C3=A4gerl?= Date: Tue, 16 Apr 2024 14:54:46 +0200 Subject: [PATCH] chore: Add skr args input to setup test clusters action (#1475) * chore: Add skr args input to setup test clusters action * junk: move out arg for testing * Revert "junk: move out arg for testing" This reverts commit 585655dca17231c3380f8aefc9ed478a2e37c9cc. --- .github/actions/setup-test-clusters/action.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-test-clusters/action.yaml b/.github/actions/setup-test-clusters/action.yaml index 47c8106bd9..efdc8dbf51 100644 --- a/.github/actions/setup-test-clusters/action.yaml +++ b/.github/actions/setup-test-clusters/action.yaml @@ -7,6 +7,9 @@ inputs: cert_manager_version: description: The version of cert-manager to depoy. For example, 1.13.3. required: true + additional_skr_args: + description: Additional arguments to pass to the k3d create command for the SKR cluster separated by semicolon (;). + required: false runs: using: composite steps: @@ -15,7 +18,7 @@ runs: with: cluster_name: skr k8s_version: ${{ inputs.k8s_version }} - args: "-p 10080:80@loadbalancer;-p 10443:443@loadbalancer" + args: "-p 10080:80@loadbalancer;-p 10443:443@loadbalancer;${{ inputs.additional_skr_args }}" - uses: ./lifecycle-manager/.github/actions/create-k3d-cluster with: cluster_name: kcp