File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
static/code-examples/linkerd-authorization-policies Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -33,18 +33,20 @@ The HTTP Resources section in the ClientIntents is optional: if you do not speci
3333
3434``` yaml
3535
36- apiVersion : k8s.otterize.com/v1alpha3
36+ apiVersion : k8s.otterize.com/v2beta1
3737kind : ClientIntents
3838metadata :
3939 name : client
4040 namespace : otterize-tutorial-linkerd
4141spec :
42- service :
42+ workload :
4343 name : client
44- calls :
45- - name : server-abc
46- type : http
47- HTTPResources :
44+ kind : Deployment
45+ targets :
46+ - kubernetes :
47+ name : server-abc
48+ kind : Deployment
49+ http :
4850 - path : /client-path
4951 methods : [ GET ]
5052
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ metadata:
66spec :
77 workload :
88 name : client
9+ kind : Deployment
910 targets :
1011 - kubernetes :
1112 name : nginx
You can’t perform that action at this time.
0 commit comments