From 9e6906dd9b7a19a42125c5980e8880374125440e Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 14 Feb 2024 14:38:38 +0100 Subject: [PATCH] Add sample intention --- consul/config/service-intentions/smtp-relay.hcl | 9 +++++++++ example/consul/config/service-intentions/smtp-relay.hcl | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 consul/config/service-intentions/smtp-relay.hcl create mode 100644 example/consul/config/service-intentions/smtp-relay.hcl diff --git a/consul/config/service-intentions/smtp-relay.hcl b/consul/config/service-intentions/smtp-relay.hcl new file mode 100644 index 0000000..e3bc289 --- /dev/null +++ b/consul/config/service-intentions/smtp-relay.hcl @@ -0,0 +1,9 @@ +Kind = "service-intentions" +Name = "smtp-relay" +Sources = [ + { + Name = "example" + Action = "allow" + Description = "Example app can send email" + } +] diff --git a/example/consul/config/service-intentions/smtp-relay.hcl b/example/consul/config/service-intentions/smtp-relay.hcl new file mode 100644 index 0000000..e3bc289 --- /dev/null +++ b/example/consul/config/service-intentions/smtp-relay.hcl @@ -0,0 +1,9 @@ +Kind = "service-intentions" +Name = "smtp-relay" +Sources = [ + { + Name = "example" + Action = "allow" + Description = "Example app can send email" + } +]