Skip to content

Commit

Permalink
chore(KFLUXVNGD-88): Add enable-helm option in github actions file (#…
Browse files Browse the repository at this point in the history
…4938)

For crossplane component helm chart inflation generator is used
which needs to have "--enable-helm" option

Jira-Url: https://issues.redhat.com/browse/KFLUXVNGD-88

Signed-off-by: Homaja Marisetty <[email protected]>
  • Loading branch information
hmariset authored Nov 19, 2024
1 parent eb74206 commit f59a12f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/kube-linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
! -path 'components/repository-validator/staging/*' \
! -path 'components/repository-validator/production/*' \
| \
xargs -I {} -n1 -P8 bash -c 'dir=$(dirname "{}"); output_file=$(echo $dir | tr / -)-kustomization.yaml; if ! log=$(kustomize build "$dir" -o "kustomizedfiles/$output_file" 2>&1); then echo "Error when running kustomize build for $dir: $log" && exit 1;fi'
xargs -I {} -n1 -P8 bash -c 'dir=$(dirname "{}"); output_file=$(echo $dir | tr / -)-kustomization.yaml; if ! log=$(kustomize build --enable-helm "$dir" -o "kustomizedfiles/$output_file" 2>&1); then echo "Error when running kustomize build for $dir: $log" && exit 1;fi'
- name: Scan yaml files with kube-linter
uses: stackrox/[email protected]
Expand Down

0 comments on commit f59a12f

Please sign in to comment.