diff --git a/policies/client.yaml b/policies/client.yaml index 9aac80f..76a0a05 100644 --- a/policies/client.yaml +++ b/policies/client.yaml @@ -8,3 +8,4 @@ spec: name: client calls: - name: "server2" + - name: server \ No newline at end of file diff --git a/policies/db.yaml b/policies/db.yaml index 381207c..b151f77 100644 --- a/policies/db.yaml +++ b/policies/db.yaml @@ -14,3 +14,4 @@ spec: table: public.example operations: - SELECT + - name: database \ No newline at end of file diff --git a/policies/orderservice.yaml b/policies/orderservice.yaml new file mode 100644 index 0000000..9f48cf6 --- /dev/null +++ b/policies/orderservice.yaml @@ -0,0 +1,13 @@ +apiVersion: k8s.otterize.com/v1alpha3 +kind: ClientIntents +metadata: + name: client-intents-for-client + namespace: otterize-tutorial-npol +spec: + service: + name: orderservice + calls: + - name: "server2" + - name: svc:kubernetes.default + - name: emailservice + - name: kafka \ No newline at end of file