Port namespace import/export svc to Envoy v2
This commit is contained in:
@@ -17,6 +17,10 @@ func ResourceTranslationsForNodes(tt types.ResourceTranslationSet, nn ...*Node)
|
||||
dups := make(map[types.Lang]map[string]map[string]bool)
|
||||
|
||||
for _, n := range nn {
|
||||
if n.Placeholder {
|
||||
continue
|
||||
}
|
||||
|
||||
c, ok := n.Resource.(localer)
|
||||
if !ok {
|
||||
continue
|
||||
|
||||
@@ -19,6 +19,10 @@ func RBACRulesForNodes(rr rbac.RuleSet, nn ...*Node) (rules NodeSet, err error)
|
||||
dups := make(map[uint64]map[string]map[string]bool)
|
||||
|
||||
for _, n := range nn {
|
||||
if n.Placeholder {
|
||||
continue
|
||||
}
|
||||
|
||||
c, ok := n.Resource.(rbacer)
|
||||
if !ok {
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user