build: stop printing verbose rbac generation details
The rbac generation prints a lot of info that is not necessary unless troubleshooting the rbac build, so we can comment it out by default. Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
1 file changed
+3
-3
@@ -41,10 +41,10 @@ while read -r line; do
|
||||
done < <(find . -type f -name '*.yml' | sort)
|
||||
|
||||
# For debugging, output the resource kinds and names we processed and the number we are keeping
|
||||
for file in "${RBAC_FILES[@]}"; do
|
||||
#for file in "${RBAC_FILES[@]}"; do
|
||||
# basename to get rid of the leading './' which find adds; %.yml to remove the .yml suffix
|
||||
basename "${file%.yml}" >/dev/stderr
|
||||
done
|
||||
# basename "${file%.yml}" >/dev/stderr
|
||||
#done
|
||||
# shellcheck disable=SC2012 # we know filenames are alphanumeric from being k8s resources
|
||||
echo "Number of RBAC resources: ${#RBAC_FILES[@]}" >/dev/stderr
|
||||
|
||||
|
||||
Reference in new issue
Block a user