From 9e0caf192b6604858c51481eb680d2786cec0697 Mon Sep 17 00:00:00 2001 From: Michael Quigley Date: Mon, 1 Aug 2022 13:46:18 -0400 Subject: [PATCH] #all policies (#13) --- controller/tunnel.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controller/tunnel.go b/controller/tunnel.go index 8279568f..955b4a73 100644 --- a/controller/tunnel.go +++ b/controller/tunnel.go @@ -157,7 +157,7 @@ func createServicePolicyDial(svcName, svcId string, edge *rest_management_api_cl } func createServiceEdgeRouterPolicy(svcName, svcId string, edge *rest_management_api_client.ZitiEdgeManagement) error { - edgeRouterRoles := []string{"@tDnhG8jkG9"} // @linux-edge-router + edgeRouterRoles := []string{"#all"} semantic := rest_model.SemanticAllOf serviceRoles := []string{fmt.Sprintf("@%v", svcId)} serp := &rest_model.ServiceEdgeRouterPolicyCreate{ @@ -180,7 +180,7 @@ func createServiceEdgeRouterPolicy(svcName, svcId string, edge *rest_management_ } func createEdgeRouterPolicy(svcName, envId string, edge *rest_management_api_client.ZitiEdgeManagement) error { - edgeRouterRoles := []string{"@tDnhG8jkG9"} // @linux-edge-router + edgeRouterRoles := []string{"#all"} identityRoles := []string{fmt.Sprintf("@%v", envId)} semantic := rest_model.SemanticAllOf erp := &rest_model.EdgeRouterPolicyCreate{