Skip to content

Commit

Permalink
chore: add extra values to helm command while validating the pod temp…
Browse files Browse the repository at this point in the history
…lates
  • Loading branch information
ravisingal committed Oct 6, 2024
1 parent e5f3933 commit ab111e9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions validate-charts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,7 @@ runs:
cat /tmp/values.yaml
CHART_NAME=$(awk '/^name:/ {print $2}' ${{ inputs.chart-path }}/Chart.yaml)
helm template $CHART_NAME ${{ inputs.chart-path }} ${{ inputs.extra-args }} -f ${{ github.action_path }}/values.tpl -f /tmp/values.yaml > /tmp/${CHART_NAME}.yaml
echo "-------"
cat /tmp/${CHART_NAME}.yaml
echo "-------"
python ${{ github.action_path }}/check.py /tmp/${CHART_NAME}.yaml

0 comments on commit ab111e9

Please sign in to comment.