Skip to content

Commit

Permalink
Add chart name as optional argument, change default port-forward true (
Browse files Browse the repository at this point in the history
  • Loading branch information
Anmol1696 authored Apr 14, 2023
1 parent f46025f commit 1e58488
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,21 @@ inputs:
description: "Values yaml raw data of filename for helm that define the topology for the devnet"
required: true
port-forward:
description: "Flag weather to perform port forwarding as defined in the values file to local ports (default: false)"
description: "Flag weather to perform port forwarding as defined in the values file to local ports (default: true)"
required: false
default: "false"
default: "true"
kubeconfig:
description: "Kubeconfig file for remote cluster, if set, will be used instead of creating kind cluster"
required: false
default: ""
version:
description: "Version of devnet chart (default: 0.1.4)"
description: "Version of devnet chart (default: 0.1.21)"
required: false
default: "0.1.21"
chart:
description: "Name of the help chart to use. Recommended: use default (default: starship/devnet)"
required: false
default: "starship/devnet"
repo:
description: "Helm repo to fetch the chart from (default: https://cosmology-tech.github.io/starship)"
required: false
Expand Down Expand Up @@ -80,7 +84,7 @@ runs:

- name: Helm install
run: |
helm install -f ${{ inputs.name }}-values.yaml ${{ inputs.name }} starship/devnet --wait --debug --version ${{ inputs.version }} --timeout 30m0s
helm install -f ${{ inputs.name }}-values.yaml ${{ inputs.name }} ${{ inputs.chart }} --wait --debug --version ${{ inputs.version }} --timeout 30m0s
shell: bash

- name: Port forward
Expand Down

0 comments on commit 1e58488

Please sign in to comment.