3 Star 0 Fork 0

Gitee 极速下载 / rbac-manager

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/FairwindsOps/rbac-manager
克隆/下载
DESIGN.md 784 Bytes
一键复制 编辑 原始数据 按行查看 历史
Andrew Suderman 提交于 2020-10-20 12:20 . Add brief design doc (#150)

Design and Architecture Notes

cmd/manager/main.go

This is the primary entrypoint

pkg/watcher

This package watches all resources that rbac-manager "owns" in order to trigger reconciliation if an outside actor modifies or deletes one of them

pkg/reconciler/parser.go

Here the rbacDefinition is parsed into ServiceAccounts, ClusterRoleBindings, and RoleBindings

pkg/controller

This package contains the watchers of Namesapces and RbacDefinitions, which are the primary things that can be used to trigger rbac-manager actions.

pkg/reconciler/reconciler.go

This contains the functions that reconcile Namespaces, ServiceAccounts, ClusterRoleBindings, RoleBindings, and OnwerReferences

pkg/apis

This contains the types necessary to define the RbacDefinition.

1
https://gitee.com/mirrors/rbac-manager.git
git@gitee.com:mirrors/rbac-manager.git
mirrors
rbac-manager
rbac-manager
master

搜索帮助