Skip to content

Commit d7de871

Browse files
Merge pull request #219 from kameshsampath/release/v0.14.x
use the $IP_ADDRESS set in CLI
2 parents 3c9a910 + 90960ff commit d7de871

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

bin/call.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ set -o pipefail
55

66
KSVC_NAME=${1:-'greeter'}
77

8-
IP_ADDRESS="$(minikube ip):$(kubectl get svc kourier-external --namespace kourier-system --output 'jsonpath={.spec.ports[?(@.port==80)].nodePort}')"
9-
108
CURR_CTX=$(kubectl config current-context)
119

1210
CURR_NS="$(kubectl config view -o=jsonpath="{.contexts[?(@.name==\"${CURR_CTX}\")].context.namespace}")" \

bin/poll.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
#!/bin/bash
2+
set -eu
3+
set -o pipefail
24

35
trap '{ echo "" ; exit 1; }' INT
46

57
KSVC_NAME=${1:-'greeter'}
68

7-
IP_ADDRESS="$(minikube ip):$(kubectl get svc istio-ingressgateway --namespace istio-system --output 'jsonpath={.spec.ports[?(@.port==80)].nodePort}')"
89

910
CURR_CTX=$(kubectl config current-context)
1011

0 commit comments

Comments
 (0)