Skip to content

Commit

Permalink
allow custom image at run time (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau committed Jun 3, 2024
1 parent 79e9818 commit 457f0a3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions commands/netobserv
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
#!/bin/bash
source "./scripts/functions.sh"

set +u

# interface filter such as 'br-ex' or pcap filter such as 'tcp,80'
filter=""

# CLI image to use
img="quay.io/netobserv/network-observability-cli:main"

if [ ! -z "$NETOBSERV_COLLECTOR_IMAGE" ]; then
echo "using custom collector image $NETOBSERV_COLLECTOR_IMAGE"
img="$NETOBSERV_COLLECTOR_IMAGE"
fi

# version to display
version="0.0.1"

Expand Down

0 comments on commit 457f0a3

Please sign in to comment.