-
Notifications
You must be signed in to change notification settings - Fork 28
Fix the build files so that prow job can run successfully #30
Conversation
/assign @wlan0 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brahmaroutu, wlan0 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
@@ -3,6 +3,7 @@ kind: ClusterRole | |||
apiVersion: rbac.authorization.k8s.io/v1 | |||
metadata: | |||
name: objectstorage-controller-role | |||
namespace: default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's odd this needs to be added, and not expected. Could you elaborate why these were added? kustomize
(or kubectl -k
) should take care of these already.
@@ -25,7 +26,8 @@ rules: | |||
kind: ClusterRoleBinding | |||
apiVersion: rbac.authorization.k8s.io/v1 | |||
metadata: | |||
name: system:objectstorage-controller | |||
name: objectstorage-controller | |||
namespace: default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A ClusterRoleBinding
doesn't have a namespace
.
@@ -34,6 +36,7 @@ metadata: | |||
subjects: | |||
- kind: ServiceAccount | |||
name: objectstorage-controller-sa | |||
namespace: default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -43,6 +46,7 @@ kind: Role | |||
apiVersion: rbac.authorization.k8s.io/v1 | |||
metadata: | |||
name: objectstorage-controller | |||
namespace: default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -57,6 +61,7 @@ kind: RoleBinding | |||
apiVersion: rbac.authorization.k8s.io/v1 | |||
metadata: | |||
name: objectstorage-controller | |||
namespace: default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -65,6 +70,7 @@ metadata: | |||
subjects: | |||
- kind: ServiceAccount | |||
name: objectstorage-controller-sa | |||
namespace: default |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.