diff --git a/cmd/policy-assistant/examples/demos/walkthrough/traffic-no-cluster.json b/cmd/policy-assistant/examples/demos/walkthrough/traffic-no-cluster.json new file mode 100644 index 00000000..133bc3de --- /dev/null +++ b/cmd/policy-assistant/examples/demos/walkthrough/traffic-no-cluster.json @@ -0,0 +1,54 @@ +[ + { + "Source": { + "Internal": { + "PodLabels": {"pod": "a"}, + "Namespace": "demo" + } + }, + "Destination": { + "Internal": { + "PodLabels": {"pod": "b"}, + "Namespace": "demo" + } + }, + "Protocol": "TCP", + "ResolvedPort": 80, + "ResolvedPortName": "serve-80-tcp" + }, + { + "Source": { + "Internal": { + "PodLabels": {"pod": "a"}, + "Namespace": "demo" + } + }, + "Destination": { + "Internal": { + "PodLabels": {"pod": "b"}, + "Namespace": "demo" + } + }, + "Protocol": "TCP", + "ResolvedPort": 81, + "ResolvedPortName": "serve-81-tcp" + }, + { + "Source": { + "Internal": { + "PodLabels": {"app": "nginx"}, + "NamespaceLabels": {"development": "true"}, + "Namespace": "demo2" + } + }, + "Destination": { + "Internal": { + "PodLabels": {"pod": "a"}, + "Namespace": "demo" + } + }, + "Protocol": "TCP", + "ResolvedPort": 81, + "ResolvedPortName": "serve-81-tcp" + } +]