Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Commit

Permalink
Merge pull request #19 from TakeoffTech/master
Browse files Browse the repository at this point in the history
Enable recursively search for *.yml files
  • Loading branch information
stefanprodan authored Dec 16, 2019
2 parents ab23715 + f8cf5f2 commit b577de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hrval-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function isHelmRelease {
# Find yaml files in directory recursively
DIR_PATH=$(echo ${DIR} | sed "s/^\///;s/\/$//")
FILES_TESTED=0
for f in `find ${DIR} -type f -name '*.yaml'`; do
for f in `find ${DIR} -type f -name '*.yaml' -or -name '*.yml'`; do
if [[ $(isHelmRelease ${f}) == "true" ]]; then
${HRVAL} ${f} ${IGNORE_VALUES} ${KUBE_VER} ${HELM_VER}
FILES_TESTED=$(( FILES_TESTED+1 ))
Expand Down

0 comments on commit b577de0

Please sign in to comment.