Skip to content

Commit b3c2cb7

Browse files
author
Shay Bergmann
committed
Remove unused intentions stanza (#146)
1 parent b9abd4f commit b3c2cb7

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

profiles/consul/policies.nix

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,5 @@
11
{ config, lib, ... }: {
22
services.consul = {
3-
intentions = lib.flatten (lib.mapAttrsToList (source: destinations:
4-
lib.forEach destinations (destination: {
5-
sourceName = source;
6-
destinationName = destination;
7-
})) {
8-
connector = [ "node" "postgres" ];
9-
ingress = [
10-
"connector"
11-
"web"
12-
"landing"
13-
"connector-develop-2598-1980ac7a"
14-
"web-develop-2598-1980ac7a"
15-
"landing-develop-2598-1980ac7a"
16-
];
17-
node = [ "bitcoind" "postgres" ];
18-
count-dashboard = [ "count-api" ];
19-
connector-develop-2598-1980ac7a =
20-
[ "node-develop-2598-1980ac7a" "postgres-develop-2598-1980ac7a" ];
21-
node-develop-2598-1980ac7a =
22-
[ "bitcoind-develop-2598-1980ac7a" "postgres-develop-2598-1980ac7a" ];
23-
});
24-
253
roles = with config.services.consul.policies; {
264
consul-agent.policyNames = [ consul-agent.name ];
275
consul-server.policyNames = [ consul-agent.name ];

0 commit comments

Comments
 (0)