From 350445bfe02c5b81356bcddde5564fa32447fee7 Mon Sep 17 00:00:00 2001 From: Josh De Winne Date: Mon, 11 Mar 2024 11:45:00 -0700 Subject: [PATCH] Allow specifying customer entitlements with prepare cluster --- prepare-cluster/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/prepare-cluster/action.yml b/prepare-cluster/action.yml index 3e19eff..6bf9285 100644 --- a/prepare-cluster/action.yml +++ b/prepare-cluster/action.yml @@ -88,6 +88,9 @@ inputs: kots-wait-duration: description: 'Timeout for KOTS to be used while waiting for individual components to be ready. must be in Go duration format (eg: 10s, 2m) (default "2m")' required: false + customer-entitlements: + description: 'Entitlements to assign to the customer.' + required: false outputs: cluster-id: # id of the cluster description: 'Contains the cluster id.' @@ -115,6 +118,7 @@ runs: customer-name: ${{ github.ref_name }}-${{ inputs.kubernetes-distribution }}-${{ inputs.kubernetes-version }} customer-email: ${{ github.ref_name }}@example.com license-type: "test" + entitlements: ${{ inputs.customer-entitlements }} channel-slug: ${{ steps.create-release.outputs.channel-slug }} - name: Create Cluster id: create-cluster