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

updates rbac and properties for deployment #53

Merged
merged 2 commits into from
Apr 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ resources:
- resources/rbac.yaml
- resources/secret.yaml
- resources/deployment.yaml
- resources/minio.yaml

configurations:
- resources/kustomizeconfig.yaml
Expand Down
2 changes: 0 additions & 2 deletions minio.yaml → resources/minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ spec:
protocol: TCP
selector:
app: minio

---

apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down
2 changes: 1 addition & 1 deletion resources/objectstorage-provisioner.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
OBJECTSTORAGE_PROVISIONER_IMAGE_ORG=quay.io/containerobjectstorage
OBJECTSTORAGE_PROVISIONER_IMAGE_VERSION=latest
OBJECTSTORAGE_PROVISIONER_IMAGE_VERSION=canary
3 changes: 3 additions & 0 deletions resources/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ rules:
- apiGroups: ["objectstorage.k8s.io"]
resources: ["bucketaccesses"]
verbs: ["get", "watch", "list", "delete", "update", "create"]
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get", "delete", "update", "create"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
Expand Down