mirror of
https://github.com/stakater/Reloader.git
synced 2026-08-20 04:26:28 +00:00
Update rbac in reloader
This commit is contained in:
@@ -17,7 +17,8 @@ rules:
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- pods
|
||||
- secrets
|
||||
- configmaps
|
||||
verbs:
|
||||
- list
|
||||
- get
|
||||
|
||||
@@ -22,5 +22,4 @@ func MapToRuntimeObject(resourceType string) runtime.Object {
|
||||
var ResourceMap = map[string]runtime.Object{
|
||||
"configMaps": &v1.ConfigMap{},
|
||||
"secrets": &v1.Secret{},
|
||||
"default": nil,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user