Skip to content

Commit

Permalink
Include all namespaces in inspection reports
Browse files Browse the repository at this point in the history
The moonray job is failing, however we only have logs from the
"default" and "kube-system" namespaces.

This change will collect logs from all k8s namespaces.
  • Loading branch information
petrutlucian94 committed Dec 16, 2024
1 parent ccfb3fa commit 6909408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/scripts/inspect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function collect_args {

function collect_cluster_info {
log_info "Copy k8s cluster-info dump to the final report tarball"
k8s kubectl cluster-info dump --output-directory "$INSPECT_DUMP/cluster-info" &>/dev/null
k8s kubectl cluster-info dump --all-namespaces --output-directory "$INSPECT_DUMP/cluster-info" &>/dev/null
}

function collect_sbom {
Expand Down

0 comments on commit 6909408

Please sign in to comment.