Skip to content

Commit

Permalink
Add proxy setting from/etc/environment to inspection report (#844)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciek Gołaszewski authored Nov 27, 2024
1 parent b652f3d commit 03582e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions k8s/scripts/inspect.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ function collect_network_diagnostics {
ip6tables-save &>"$INSPECT_DUMP/iptables6.log" || true
ip6tables-legacy-save &>"$INSPECT_DUMP/iptables6-legacy.log" || true
ss -6 -plnt &>"$INSPECT_DUMP/ss6-plnt.log" || true
grep -Ei "^(HTTP_PROXY|HTTPS_PROXY|NO_PROXY)=" /etc/environment > "$INSPECT_DUMP/proxy_in_etc_environment"
}

function check_expected_services {
Expand Down

0 comments on commit 03582e1

Please sign in to comment.