diff --git a/.gitignore b/.gitignore index c329408b1d9..00a51b0ec66 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ minio-operator +!minio-operator/ .idea/ diff --git a/minio-operator.yaml b/minio-operator.yaml index 14140942df1..28c489cf0b7 100644 --- a/minio-operator.yaml +++ b/minio-operator.yaml @@ -202,7 +202,7 @@ spec: serviceAccountName: minio-operator-sa containers: - name: minio-operator - image: minio/k8s-operator:2.0.0 + image: minio/k8s-operator:2.0.1 imagePullPolicy: IfNotPresent # To specify cluster domain, un comment the following: # env: diff --git a/olm-catalog/minio-operator/2.0.1/minio-operator.v2.0.1.clusterserviceversion.yaml b/olm-catalog/minio-operator/2.0.1/minio-operator.v2.0.1.clusterserviceversion.yaml new file mode 100644 index 00000000000..32038d519ee --- /dev/null +++ b/olm-catalog/minio-operator/2.0.1/minio-operator.v2.0.1.clusterserviceversion.yaml @@ -0,0 +1,274 @@ +apiVersion: operators.coreos.com/v1alpha1 +kind: ClusterServiceVersion +metadata: + name: minio-operator.v2.0.1 + namespace: placeholder + annotations: + categories: 'Storage, Big Data, AI/Machine Learning' + certified: 'false' + description: ' MinIO Operator allows creating distributed MinIO Clusters and manage their lifecycle' + containerImage: 'minio/k8s-operator:2.0.1' + support: 'MinIO, Inc.' + capabilities: Full Lifecycle + repository: 'https://github.com/minio/minio-operator' + createdAt: 2019-10-21T00:00:00.000Z + alm-examples: |- + [ + { + "apiVersion": "v1", + "kind": "Secret", + "metadata": { + "name": "minio-creds-secret" + }, + "data": { + "accesskey": "bWluaW8=", + "secretkey": "bWluaW8xMjM=" + } + }, + { + "apiVersion": "operator.min.io/v1beta1", + "kind": "MinIOInstance", + "metadata": { + "name": "minio" + }, + "spec": { + "replicas": 4, + "credsSecret": { + "name": "minio-creds-secret" + }, + "requestAutoCert": false + } + } + ] +spec: + displayName: MinIO Operator + description: > + ## About the managed application + + MinIO's high-performance, software-defined object storage suite + enables customers to build cloud-native data infrastructure for + machine learning, analytics, and application data workloads. + + Some of the key features are: + + * SQL Select + + * Encryption & WORM + + * Multi-Site Federation + + * Lambda Compute + + * Integration with IAM Tools + + * Erasure Code & Bitrot Protection + + ## About this Operator + + MinIO Operator provides the following features: + + + * Deploy: Launch MinIO Clusters with specific affinity, toleration and other + pre-defined settings + + * Automatic TLS: Deploy TLS enabled MinIO clusters with builtin certificate + signing requests. + + * Configure: Configure the fundamentals of MinIO like versions, persistence, + erasure code configuration, and replicas. + + maturity: stable + version: 2.0.1 + minKubeVersion: 1.14.0 + keywords: + - Object Storage + - Private Cloud + - S3 API + - Cloud Storage + maintainers: + - name: MinIO Developers + email: dev@min.io + provider: + name: 'MinIO, Inc.' + labels: {} + selector: + matchLabels: {} + links: + - name: MinIO Website + url: 'https://www.min.io' + - name: MinIO Documentation + url: 'https://docs.min.io' + - name: MinIO Operator Repository + url: 'https://github.com/minio/minio-operator' + - name: MinIO SUBNET + url: 'https://min.io/pricing' + icon: + - base64data: >- + iVBORw0KGgoAAAANSUhEUgAAAKcAAACnCAYAAAB0FkzsAAAACXBIWXMAABcRAAAXEQHKJvM/AAAIj0lEQVR4nO2dT6hVVRSHjykI/gMDU0swfKAi2KgGOkv6M1RpqI9qZBYo9EAHSaIopGCQA8tJDXzNgnRcGm+SgwLDIFR4omBmCQrqE4Tkxu/6Tlyv7569zzn73Lvu3t83VO+5HN/31t5r7bX3ntVqtVoZgD0mnuOHAlZBTjALcoJZkBPMgpxgFuQEsyAnmAU5wSzICWZBTjALcoJZkBPMgpxgFuQEsyAnmAU5wSzICWZBTjDLHH40Yfn3/lR299zP2Z2z57PH9x889exFr72SLd60MZu/dtXwv2gfYA9RICTl9SNfZbfP/Oh84Lw1q7KX9+5oywo9mUDOANw5dz6b/ORY9vjBVKmHLX59QzZyeCybs3C+0TcbKMhZl9tnfsgm931e+SmKouu+OYqgz8Luyzrc++ViLTHFw8tXsz/e39OeFsDTIGcNJvcdC/IcCXpl14EBvYVdkLMiGs4f3fwn2PPu/fp79tep031+C9sgZ0V8RJr74gv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YBbkBLMgJ5gFOcEsyAlmQU4wC3KCWZATzIKcYBbkBLMgJ5gFOcEsyAlmQU4wC3KCWZATzIKcgdFJdzq0FuqDnA0wcmgMQQOAnA2BoPVBzgZB0HogZ8MgaHWQsw8gaDWivdLaGhIUyjGr1Wq1+D/rH1OXrnIFjR8TyAlWmWDOCWZBTjALcoJZkBPMgpxgFuQEsyAnmAU5wSzICWZBTjALcoJZkBPMgpxgFuQEsyAnmAU5wSzICWbRHqIJfjxgjiz77T8hbd197bqGkwAAAABJRU5ErkJggg== + mediatype: image/png + customresourcedefinitions: + owned: + - name: instances.min.io + displayName: MinIOInstance + kind: MinIOInstance + version: v1beta1 + description: Min IO Instance + resources: + - version: v1 + kind: Namespace + - version: v1 + kind: Deployment + - version: v1 + kind: Service + - version: v1 + kind: ReplicaSet + - version: v1 + kind: Pod + - version: v1 + kind: Secret + - version: v1 + kind: ConfigMap + - version: v1 + kind: ServiceAccount + - version: rbac.authorization.k8s.io/v1 + kind: ClusterRoleBinding + - version: rbac.authorization.k8s.io/v1 + kind: ClusterRole + specDescriptors: + - path: replicas + description: Replicas + displayName: Replicas + x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:podCount' + - path: version + description: Version + displayName: Version + x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:text' + - path: mountpath + description: Mountpath + displayName: Mountpath + x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:text' + - path: subpath + description: Subpath + displayName: Subpath + x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:text' + statusDescriptors: [] + required: [] + install: + strategy: deployment + spec: + clusterPermissions: + - serviceAccountName: minio-operator-sa + rules: + - apiGroups: + - "" + resources: + - secrets + - services + verbs: + - list + - watch + - get + - apiGroups: + - apps + resources: + - statefulsets + verbs: + - list + - watch + - get + - apiGroups: + - operator.min.io + resources: + - instances + verbs: + - list + - watch + - get + permissions: + - serviceAccountName: minio-operator-sa + rules: + - apiGroups: + - "" + resources: + - namespaces + - secrets + - pods + - services + - events + verbs: + - get + - watch + - create + - list + - patch + - apiGroups: + - "apps" + resources: + - statefulsets + verbs: + - get + - create + - list + - patch + - watch + - apiGroups: + - "certificates.k8s.io" + resources: + - certificatesigningrequests + - certificatesigningrequests/approval + - certificatesigningrequests/status + verbs: + - update + - create + - get + - apiGroups: + - rbac.authorization.k8s.io + resources: + - roles + - rolebindings + - clusterroles + - clusterrolebindings + verbs: + - create + - delete + - apiGroups: + - "operator.min.io" + resources: + - '*' + verbs: + - '*' + - apiGroups: + - "min.io" + resources: + - '*' + verbs: + - '*' + deployments: + - name: minio-operator + spec: + replicas: 1 + selector: + matchLabels: + app: minio-operator + template + metadata: + labels: + app: minio-operator + spec: + serviceAccountName: minio-operator-sa + containers: + - name: minio-operator + image: 'minio/k8s-operator:2.0.1' + installModes: + - type: OwnNamespace + supported: true + - type: SingleNamespace + supported: true + - type: MultiNamespace + supported: true + - type: AllNamespaces + supported: false diff --git a/olm-catalog/minio-operator/2.0.1/minioinstances.operator.min.io.crd.yaml b/olm-catalog/minio-operator/2.0.1/minioinstances.operator.min.io.crd.yaml new file mode 100644 index 00000000000..7c9db7a2c3f --- /dev/null +++ b/olm-catalog/minio-operator/2.0.1/minioinstances.operator.min.io.crd.yaml @@ -0,0 +1,30 @@ +apiVersion: apiextensions.k8s.io/v1beta1 +kind: CustomResourceDefinition +metadata: + name: instances.min.io +spec: + group: miniocontroller.min.io + version: v1beta1 + scope: Namespaced + names: + kind: MinIOInstance + singular: minioinstance + plural: minioinstances + preserveUnknownFields: true + validation: + openAPIV3Schema: + type: object + properties: + spec: + type: object + properties: + replicas: + type: integer + minimum: 1 + maximum: 32 + version: + type: string + mountpath: + type: string + subpath: + type: string diff --git a/olm-catalog/minio-operator/minio-operator.package.yaml b/olm-catalog/minio-operator/minio-operator.package.yaml index 01345999513..00f14e1199f 100644 --- a/olm-catalog/minio-operator/minio-operator.package.yaml +++ b/olm-catalog/minio-operator/minio-operator.package.yaml @@ -1,5 +1,5 @@ packageName: minio-operator channels: - name: stable - currentCSV: minio-operator.v2.0.0 + currentCSV: minio-operator.v2.0.1 defaultChannel: stable