Skip to content

Commit

Permalink
Update images/virtualization-artifact/hack/mirrord.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Mikheykin <[email protected]>
Signed-off-by: Yaroslav Borbat <[email protected]>
  • Loading branch information
yaroslavborbat and diafour authored Mar 14, 2024
1 parent d53a7fe commit 8ae5809
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion images/virtualization-artifact/hack/mirrord.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,20 @@ set -eo pipefail

function usage {
cat <<EOF
"Usage: $0 [run/wipe] --app=<?> --namespace=<?> --deployment=<?>"
Usage: $0 COMMAND OPTIONS
Commands:
run Run locally executed application in a cluster environment.
Arguments:
--app Path to main.go
--namespace Namespace of deployment
--deployment Deployment where application should be injected
--flags Arguments for application.
wipe Stop and cleanup.
Arguments:
--namespace Namespace of deployment
--deployment Deployment where application was injected
"Examples:"
# Run"
$(basename "$0") run --app="/path/to/main.go" --deployment="your deployment" --namespace="your namespace" --flags="--app-flag1=flag1, app-flag2=flag2"
Expand Down

0 comments on commit 8ae5809

Please sign in to comment.