File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 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 ] ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments