Skip to content

Commit

Permalink
update minio specs (#45)
Browse files Browse the repository at this point in the history
* update minio specs
  • Loading branch information
cpanato committed Jun 28, 2019
1 parent b24da0f commit b0ff88d
Show file tree
Hide file tree
Showing 273 changed files with 457 additions and 22,605 deletions.
131 changes: 11 additions & 120 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ required = [
name = "github.com/stretchr/testify"
version = "~1.2.0"

[[constraint]]
name = "github.com/minio/minio-operator"
revision = "1d2a6c49cbae00402f36f61e91b162ff3b09446c"

# For dependency below: Refer to issue https://github.com/golang/dep/issues/1799
[[override]]
name = "gopkg.in/fsnotify.v1"
Expand Down
2 changes: 1 addition & 1 deletion deploy/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ rules:
verbs:
- create
- apiGroups:
- miniocontroller.minio.io
- miniocontroller.min.io
resources:
- "*"
verbs:
Expand Down
2 changes: 1 addition & 1 deletion docs/mattermost-operator/mattermost-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ rules:
verbs:
- create
- apiGroups:
- miniocontroller.minio.io
- miniocontroller.min.io
resources:
- "*"
verbs:
Expand Down
32 changes: 16 additions & 16 deletions docs/minio-operator/minio-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: minio-operator-sa
namespace: minio-operator-ns
---
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: minioinstances.miniocontroller.minio.io
name: minioinstances.miniocontroller.min.io
spec:
group: miniocontroller.minio.io
group: miniocontroller.min.io
version: v1beta1
names:
kind: MinioInstance
kind: MinIOInstance
plural: minioinstances
scope: Namespaced
---
Expand All @@ -35,7 +29,6 @@ rules:
- create
- list
- patch
- update
- apiGroups:
- apps
resources:
Expand All @@ -46,39 +39,44 @@ rules:
- list
- patch
- watch
- update
- apiGroups:
- miniocontroller.minio.io
- miniocontroller.min.io
resources:
- "*"
verbs:
- "*"
- apiGroups:
- minio.io
- min.io
resources:
- "*"
verbs:
- "*"
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: minio-operator-sa
namespace: minio-operator
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: minio-operator-binding
namespace: minio-operator-ns
namespace: minio-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: minio-operator-role
subjects:
- kind: ServiceAccount
name: minio-operator-sa
namespace: minio-operator-ns
namespace: minio-operator
---
apiVersion: apps/v1beta1
kind: Deployment
metadata:
name: minio-operator
namespace: minio-operator-ns
namespace: minio-operator
spec:
replicas: 1
template:
Expand All @@ -90,3 +88,5 @@ spec:
containers:
- name: minio-operator
image: minio/k8s-operator:latest
imagePullPolicy: Always

Loading

0 comments on commit b0ff88d

Please sign in to comment.