File tree Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Expand file tree Collapse file tree 1 file changed +11
-14
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,11 @@ main() {
25
25
local pattern_filename=pat.yml
26
26
local service_mesh=" istio"
27
27
local service_mesh_adapter=
28
+ local url=" https://raw.githubusercontent.com/service-mesh-patterns/service-mesh-patterns/master/samples/IstioFilterPattern.yaml"
28
29
29
30
30
31
parse_command_line " $@ "
31
32
32
-
33
-
34
-
35
33
shortName=$( echo ${adapters["$service_mesh"]} | cut -d ' -' -f2 | cut -d ' :' -f1)
36
34
37
35
docker network connect bridge meshery_meshery_1
@@ -44,8 +42,7 @@ main() {
44
42
mesheryctl mesh deploy --adapter $service_mesh_adapter -t ~ /auth.json $service_mesh
45
43
sleep 30
46
44
docker ps
47
- mesheryctl pattern apply --file https://raw.githubusercontent.com/service-mesh-patterns/service-mesh-patterns/master/samples/IstioFilterPattern.yaml -t ~ /auth.json
48
- mesheryctl pattern apply --file https://raw.githubusercontent.com/service-mesh-patterns/service-mesh-patterns/master/samples/bookInfoPattern.yaml -t ~ /auth.json
45
+ mesheryctl pattern apply --file $url -t ~ /auth.json
49
46
sleep 3m 30s
50
47
kubectl get all --all-namespaces
51
48
}
@@ -64,15 +61,15 @@ parse_command_line() {
64
61
exit 1
65
62
fi
66
63
;;
67
- --pattern-filename)
68
- if [[ -n " ${2:- } " ]]; then
69
- pattern_filename=$2
70
- shift
71
- else
72
- echo " ERROR: '--pattern-filename' cannot be empty." >&2
73
- exit 1
74
- fi
75
- ;;
64
+ # --pattern-filename)
65
+ # if [[ -n "${2:-}" ]]; then
66
+ # pattern_filename=$2
67
+ # shift
68
+ # else
69
+ # echo "ERROR: '--pattern-filename' cannot be empty." >&2
70
+ # exit 1
71
+ # fi
72
+ # ;;
76
73
* )
77
74
break
78
75
;;
You can’t perform that action at this time.
0 commit comments