Skip to content

Commit

Permalink
extract and test CRDs as well
Browse files Browse the repository at this point in the history
  • Loading branch information
hadar-co committed Aug 8, 2022
1 parent 746c44e commit a6100cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubectl-datree
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ show_help(){
printf "\nRunning 'kubectl datree test' with no arguments is equivalent to 'kubectl datree test -- -n default'\n"
}

PLUGIN_VERSION="v0.1.1"
PLUGIN_VERSION="v0.1.2"

# Validate argument
if [ "$1" == "version" ]; then
Expand Down Expand Up @@ -116,7 +116,7 @@ get_common_resources(){
done
}

additional_resources=("ingress")
additional_resources=("ingress","crds")
get_additional_resources(){
for str in ${additional_resources[@]}; do
get_yamls < <(kubectl get $str -o name -n $NAMESPACE)
Expand Down

0 comments on commit a6100cf

Please sign in to comment.