Skip to content

Commit 92b88ca

Browse files
zinrefPohfy123
authored andcommitted
🐛 [patch] Correct pods/log permission (#4)
1 parent 510d195 commit 92b88ca

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ manifests: controller-gen
490490

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

495495
# find or download controller-gen
496496
# download controller-gen if necessary
File renamed without changes.

config/chart/samsahai/templates/clusterrole-rbac.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ rules:
2929
- bindings
3030
- configmaps
3131
- limitranges
32-
- logs
3332
- persistentvolumeclaims
3433
- pods
34+
- pods/log
3535
- namespaces
3636
- resourcequotas
3737
- services

internal/samsahai/k8sobject/object.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ func GetRole(teamComp *s2hv1beta1.Team, namespaceName string) runtime.Object {
276276
"",
277277
},
278278
Resources: []string{
279-
"logs",
280279
"pods",
280+
"pods/log",
281281
"services",
282282
"endpoints",
283283
"serviceaccounts",

0 commit comments

Comments
 (0)