Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
颜雨
old-infinite-manager
Commits
466c4b6c
Unverified
Commit
466c4b6c
authored
6 years ago
by
zryfish
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #281 from wansir/v1.0.1
fix hpa permission
parents
dfc90814
bdd4e3fc
advanced-1.0.1
No related merge requests found
Pipeline
#364
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/models/controllers/namespaces.go
+1
-1
pkg/models/controllers/namespaces.go
with
1 addition
and
1 deletion
+1
-1
pkg/models/controllers/namespaces.go
+
1
−
1
View file @
466c4b6c
...
...
@@ -57,7 +57,7 @@ const (
)
var
adminRules
=
[]
rbac
.
PolicyRule
{{
Verbs
:
[]
string
{
"*"
},
APIGroups
:
[]
string
{
"*"
},
Resources
:
[]
string
{
"*"
}}}
var
editorRules
=
[]
rbac
.
PolicyRule
{{
Verbs
:
[]
string
{
"*"
},
APIGroups
:
[]
string
{
""
,
"apps"
,
"extensions"
,
"batch"
,
"kubesphere.io"
,
"account.kubesphere.io"
},
Resources
:
[]
string
{
"*"
}}}
var
editorRules
=
[]
rbac
.
PolicyRule
{{
Verbs
:
[]
string
{
"*"
},
APIGroups
:
[]
string
{
""
,
"apps"
,
"extensions"
,
"batch"
,
"kubesphere.io"
,
"account.kubesphere.io"
,
"autoscaling"
},
Resources
:
[]
string
{
"*"
}}}
var
viewerRules
=
[]
rbac
.
PolicyRule
{{
Verbs
:
[]
string
{
"list"
,
"get"
,
"watch"
},
APIGroups
:
[]
string
{
""
,
"apps"
,
"extensions"
,
"batch"
,
"kubesphere.io"
,
"account.kubesphere.io"
},
Resources
:
[]
string
{
"*"
}}}
type
runTime
struct
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets