Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Merge pull request #30 from brahmaroutu/fix_build
Browse files Browse the repository at this point in the history
Fix the build files so that prow job can run successfully
  • Loading branch information
k8s-ci-robot authored Jan 5, 2021
2 parents 20d2924 + ee42636 commit d79d353
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ FROM gcr.io/distroless/static:latest
LABEL maintainers="Kubernetes Authors"
LABEL description="COSI Controller"

COPY ./bin/cosi-controller-manager cosi-controller-manager
ENTRYPOINT ["/cosi-controller-manager"]
COPY ./bin/controller-manager controller-manager
ENTRYPOINT ["/controller-manager"]
8 changes: 7 additions & 1 deletion deploy/base/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: objectstorage-controller-role
namespace: default
labels:
app.kubernetes.io/part-of: container-object-storage-interface
app.kubernetes.io/component: controller
Expand All @@ -25,7 +26,8 @@ rules:
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: system:objectstorage-controller
name: objectstorage-controller
namespace: default
labels:
app.kubernetes.io/part-of: container-object-storage-interface
app.kubernetes.io/component: controller
Expand All @@ -34,6 +36,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: objectstorage-controller-sa
namespace: default
roleRef:
kind: ClusterRole
name: objectstorage-controller-role
Expand All @@ -43,6 +46,7 @@ kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: objectstorage-controller
namespace: default
labels:
app.kubernetes.io/part-of: container-object-storage-interface
app.kubernetes.io/component: controller
Expand All @@ -57,6 +61,7 @@ kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: objectstorage-controller
namespace: default
labels:
app.kubernetes.io/part-of: container-object-storage-interface
app.kubernetes.io/component: controller
Expand All @@ -65,6 +70,7 @@ metadata:
subjects:
- kind: ServiceAccount
name: objectstorage-controller-sa
namespace: default
roleRef:
kind: Role
name: objectstorage-controller
Expand Down

0 comments on commit d79d353

Please # to comment.