You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -79,23 +79,23 @@ for namespace in $NAMESPACES; do
79
79
kubectl --namespace="${namespace}" get "$type"$label_selector -o custom-columns=SPACE:.metadata.namespace,KIND:..kind,NAME:.metadata.name --no-headers |whileread -r a b name;do
80
80
[ -z"$name" ] &&continue
81
81
82
-
# Service account tokens cannot be exported
83
-
if [ "$type"='secret' ] && [ "$(kubectl get -n "${namespace}" -o jsonpath="{.type}" secret "$name")"="kubernetes.io/service-account-token" ];then
84
-
continue
85
-
fi
86
-
87
-
kubectl --namespace="${namespace}" get -o=json "$type""$name"| jq --sort-keys \
0 commit comments