From 839920ff804e86df1c602da14d5fba267babafbd Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Tue, 13 Sep 2022 11:26:51 -0600 Subject: [PATCH] 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 --- build/rbac/keep-rbac-yaml.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/rbac/keep-rbac-yaml.sh b/build/rbac/keep-rbac-yaml.sh index 098df8364..d8189a0ab 100755 --- a/build/rbac/keep-rbac-yaml.sh +++ b/build/rbac/keep-rbac-yaml.sh @@ -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