We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd41e95 commit 261f40aCopy full SHA for 261f40a
bin/service-url-include.sh
@@ -23,14 +23,13 @@ json_route_path='{.spec.path}'
23
json_route_tls='{.spec.tls.termination}'
24
25
function get_k8s_info {
26
- local namespace object jsonpath info rc
+ local namespace object jsonpath info
27
28
namespace=$1
29
object=$2
30
jsonpath=$3
31
32
info=$(kubectl -n "$namespace" get "$object" -o=jsonpath="$jsonpath" 2> /dev/null)
33
- rc=$?
34
35
if [ -n "$info" ]; then
36
echo "$info"
@@ -60,8 +59,7 @@ function get_ingress_ports {
60
59
}
61
62
function get_ingress_url {
63
- # shellcheck disable=SC2034
64
- local namespace name host path tls_info rc port porttxt protocol
+ local namespace name host path tls_info port porttxt protocol
65
66
67
name=$2
0 commit comments