3
0

Port namespace import/export svc to Envoy v2

This commit is contained in:
Tomaž Jerman
2023-03-20 11:42:41 +01:00
parent 030a440885
commit 6f5bb2ebd5
5 changed files with 255 additions and 216 deletions

View File

@@ -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

View File

@@ -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