From f5ce63a2282baa0ea2914bf70bb2b87883a8d868 Mon Sep 17 00:00:00 2001 From: "otterize-cloud[bot]" <153529128+otterize-cloud[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 10:20:04 +0000 Subject: [PATCH 1/3] Update ClientIntents for services client, server --- policies/client.yaml | 1 + policies/db.yaml | 1 + 2 files changed, 2 insertions(+) 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 From 441dc75350f82356142417aa0a1bad400e318b60 Mon Sep 17 00:00:00 2001 From: "otterize-cloud[bot]" <153529128+otterize-cloud[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 18:17:05 +0000 Subject: [PATCH 2/3] Update ClientIntents for services client, server, orderservice --- policies/orderservice.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 policies/orderservice.yaml diff --git a/policies/orderservice.yaml b/policies/orderservice.yaml new file mode 100644 index 0000000..4229229 --- /dev/null +++ b/policies/orderservice.yaml @@ -0,0 +1,11 @@ +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 \ No newline at end of file From e570b81d7296f3ec8cd986a0d84770b43c22a416 Mon Sep 17 00:00:00 2001 From: "otterize-cloud[bot]" <153529128+otterize-cloud[bot]@users.noreply.github.com> Date: Mon, 26 Feb 2024 18:19:04 +0000 Subject: [PATCH 3/3] Update ClientIntents for services client, orderservice, server --- policies/orderservice.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/policies/orderservice.yaml b/policies/orderservice.yaml index 4229229..9f48cf6 100644 --- a/policies/orderservice.yaml +++ b/policies/orderservice.yaml @@ -8,4 +8,6 @@ spec: name: orderservice calls: - name: "server2" - - name: svc:kubernetes.default \ No newline at end of file + - name: svc:kubernetes.default + - name: emailservice + - name: kafka \ No newline at end of file