Skip to content

Commit

Permalink
🐛 [patch] Correct pods/log permission (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
zinref authored and Pohfy123 committed Mar 19, 2020
1 parent 510d195 commit 92b88ca
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ manifests: controller-gen

# Generate code
generate: controller-gen
$(CONTROLLER_GEN) object:headerFile=./hack/boilerplate.go.txt paths="./..."
$(CONTROLLER_GEN) object:headerFile=./builder/boilerplate.go.txt paths="./..."

# find or download controller-gen
# download controller-gen if necessary
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion config/chart/samsahai/templates/clusterrole-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ rules:
- bindings
- configmaps
- limitranges
- logs
- persistentvolumeclaims
- pods
- pods/log
- namespaces
- resourcequotas
- services
Expand Down
2 changes: 1 addition & 1 deletion internal/samsahai/k8sobject/object.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ func GetRole(teamComp *s2hv1beta1.Team, namespaceName string) runtime.Object {
"",
},
Resources: []string{
"logs",
"pods",
"pods/log",
"services",
"endpoints",
"serviceaccounts",
Expand Down

0 comments on commit 92b88ca

Please sign in to comment.