Compare commits

..

No commits in common. "83978cc429fae44cb8ae2576f11fb66a9be67884" and "927cf87bae565b241690e501d5bcd2f4065600e8" have entirely different histories.

View File

@ -51,8 +51,8 @@ fi
NAMES="$(kubectl api-resources --namespaced --verbs list -o name | tr '\n' ,)" NAMES="$(kubectl api-resources --namespaced --verbs list -o name | tr '\n' ,)"
if [[ "$ALL_NAMESPACES" == "true" ]]; then if [ $ALL_NAMESPACES ]; then
kubectl get "${NAMES::${#NAMES}-1}" --show-kind --ignore-not-found ${LABEL} -A kubectl get "${NAMES:0:-1}" --show-kind --ignore-not-found ${LABEL} -A
else else
kubectl get "${NAMES::${#NAMES}-1}" --show-kind --ignore-not-found ${LABEL} -n ${NAMESPACE} kubectl get "${NAMES:0:-1}" --show-kind --ignore-not-found ${LABEL} -n ${NAMESPACE}
fi fi