Skip to content

Commit 0df1f56

Browse files
committed
Fix Linkerd docs
1 parent e49f7db commit 0df1f56

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

docs/features/linkerd/index.mdx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff 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
3737
kind: ClientIntents
3838
metadata:
3939
name: client
4040
namespace: otterize-tutorial-linkerd
4141
spec:
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

static/code-examples/linkerd-authorization-policies/intents.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ metadata:
66
spec:
77
workload:
88
name: client
9+
kind: Deployment
910
targets:
1011
- kubernetes:
1112
name: nginx

0 commit comments

Comments
 (0)