Skip to content

Commit

Permalink
Add helm_values as input
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonthomas committed Oct 19, 2022
1 parent 6f33119 commit 01c5f68
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ inputs:
helm_chart_path:
description: Helm chart path within infrastructure repository , e.g. testapp1/k8s/testapp1/
required: true
helm_values:
description: Helm values specified with '--set' flag value, e.g. "--set 'foo.bar=value'"
required: false
default: ""
helm_value_files:
description: Helm chart value files within the infrastructure repository specified with "-f" flag value, e.g. "-f values-dev.yaml -f values-dev-additional.yaml", defaults to "-f values-$env_name.yaml"
required: false
Expand Down Expand Up @@ -118,5 +122,6 @@ runs:
helm upgrade ${{ inputs.helm_release_name }} . \
--install \
--namespace ${{ inputs.app_name }}-${{ inputs.env_name }} \
${{ steps.helm_values.outputs.FILES }} \
--set image.tag=${{ inputs.image_tag }} \
${{ steps.helm_values.outputs.FILES }}
${{ inputs.helm_values }}

0 comments on commit 01c5f68

Please sign in to comment.