File tree Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,34 @@ Incorporate Service Mesh Patterns into your GitHub workflows using Meshery's CLI
44
55<div >  ; </div >
66
7+ ## Sample pattern action configuration
8+
9+ ``` yaml
10+ name : Mesheryctl Pattern Action
11+ on :
12+ push :
13+ branches :
14+ - ' master'
15+ # if manually triggering, provide a provider token yourself
16+ workflow_dispatch :
17+ inputs :
18+ provider_token :
19+ description : " Meshery auth token"
20+ required : true
21+
22+ jobs :
23+ mesheryctl-pattern-action :
24+ name : Mesheryctl Pattern Actions
25+ runs-on : ubuntu-latest
26+ steps :
27+ - name : mesheryctl pattern action
28+ uses : layer5io/mesheryctl-service-mesh-patterns-action@master
29+ with :
30+ provider_token : ${{ github.event.inputs.provider_token }}
31+ platform : docker
32+ url : https://raw.githubusercontent.com/service-mesh-patterns/service-mesh-patterns/master/samples/IstioFilterPattern.yaml
33+ ` ` `
34+
735## Join the service mesh community!
836
937<a name="contributing"></a><a name="community"></a>
Original file line number Diff line number Diff line change @@ -7,13 +7,15 @@ inputs:
77 service_mesh :
88 # used for provisioning appropriate meshery-adatper
99 description : " Service mesh to use. e.g: osm, istio etc"
10+ default : istio
1011 required : true
1112 platform :
1213 description : " Platform to deploy meshery on. Possible values: docker, kubernetes"
1314 default : docker
1415 url :
1516 description : " A raw Github URL for the patterns to be deployed"
1617 default : " https://raw.githubusercontent.com/service-mesh-patterns/service-mesh-patterns/master/samples/IstioFilterPattern.yaml"
18+ required : true
1719runs :
1820 using : " node12"
1921 main : " main.js"
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ adapters["traefik_mesh"]=meshery-traefik-mesh:10006
2323main () {
2424
2525 local pattern_filename=pat.yml
26- local service_mesh=" istio "
26+ local service_mesh=
2727 local service_mesh_adapter=
28- local url=" https://raw.githubusercontent.com/service-mesh-patterns/service-mesh-patterns/master/samples/IstioFilterPattern.yaml "
28+ local url=
2929
3030
3131 parse_command_line " $@ "
You can’t perform that action at this time.
0 commit comments