From 11c4b4e1503cd5a6000938f291d2ea54b46cd521 Mon Sep 17 00:00:00 2001 From: Daniel Valdivia Date: Thu, 26 May 2022 08:10:49 -0700 Subject: [PATCH] Make patch - minio --- .../generated-changes/overlay/app-readme.md | 78 +++++++++++++++++++ .../generated-changes/patch/Chart.yaml.patch | 18 +++++ packages/minio/package.yaml | 2 + 3 files changed, 98 insertions(+) create mode 100644 packages/minio/generated-changes/overlay/app-readme.md create mode 100644 packages/minio/generated-changes/patch/Chart.yaml.patch create mode 100644 packages/minio/package.yaml diff --git a/packages/minio/generated-changes/overlay/app-readme.md b/packages/minio/generated-changes/overlay/app-readme.md new file mode 100644 index 000000000..ac0f1294a --- /dev/null +++ b/packages/minio/generated-changes/overlay/app-readme.md @@ -0,0 +1,78 @@ +# MinIO Operator + +MinIO is a Kubernetes-native high performance object store with an S3-compatible API. The +MinIO Kubernetes Operator supports deploying MinIO Tenants onto private and public +cloud infrastructures ("Hybrid" Cloud). + +## Procedure + +### 1) Verify installation the MinIO Operator +Run the following command to verify the status of the Operator: + +```sh +kubectl get pods -n minio-operator +``` + +The output resembles the following: + +```sh +NAME READY STATUS RESTARTS AGE +console-6b6cf8946c-9cj25 1/1 Running 0 99s +minio-operator-69fd675557-lsrqg 1/1 Running 0 99s +``` + +The `console-*` pod runs the MinIO Operator Console, a graphical user +interface for creating and managing MinIO Tenants. + +The `minio-operator-*` pod runs the MinIO Operator itself. + +### 2) Access the Operator Console + +Get the service-account token to access the UI: + +```sh +kubectl -n minio-operator get secret $(kubectl -n minio-operator get serviceaccount console-sa -o jsonpath="{.secrets[0].name}") -o jsonpath="{.data.token}" | base64 --decode +``` + +Run the following command to create a local proxy to the MinIO Operator +Console: + +```sh +kubectl -n minio-operator port-forward svc/console 9090 +``` + +Open your browser to http://localhost:9090 and use the JWT token to log in +to the Operator Console. + + + +Click **+ Create Tenant** to open the Tenant Creation workflow. + +### 3) Build the Tenant Configuration + +The Operator Console **Create New Tenant** walkthrough builds out +a MinIO Tenant. The following list describes the basic configuration sections. + +- **Name** - Specify the *Name*, *Namespace*, and *Storage Class* for the new Tenant. + + The *Storage Class* must correspond to a [Storage Class](#default-storage-class) that corresponds to [Local Persistent Volumes](#local-persistent-volumes) that can support the MinIO Tenant. + + The *Namespace* must correspond to an existing [Namespace](#minio-tenant-namespace) that does *not* contain any other MinIO Tenant. + + Enable *Advanced Mode* to access additional advanced configuration options. + +- **Tenant Size** - Specify the *Number of Servers*, *Number of Drives per Server*, and *Total Size* of the Tenant. + + The *Resource Allocation* section summarizes the Tenant configuration + based on the inputs above. + + Additional configuration inputs may be visible if *Advanced Mode* was enabled + in the previous step. + +- **Preview Configuration** - summarizes the details of the new Tenant. + +After configuring the Tenant to your requirements, click **Create** to create the new tenant. + +The Operator Console displays credentials for connecting to the MinIO Tenant. You *must* download and secure these credentials at this stage. You cannot trivially retrieve these credentials later. + +You can monitor Tenant creation from the Operator Console. \ No newline at end of file diff --git a/packages/minio/generated-changes/patch/Chart.yaml.patch b/packages/minio/generated-changes/patch/Chart.yaml.patch new file mode 100644 index 000000000..3c3c7a4b9 --- /dev/null +++ b/packages/minio/generated-changes/patch/Chart.yaml.patch @@ -0,0 +1,18 @@ +--- charts-original/Chart.yaml ++++ charts/Chart.yaml +@@ -10,8 +10,13 @@ + maintainers: + - email: dev@minio.io + name: MinIO, Inc +-name: operator ++name: minio-operator + sources: + - https://github.com/minio/operator + type: application + version: 4.4.17 ++annotations: ++ catalog.cattle.io/certified: partner ++ catalog.cattle.io/display-name: Minio Operator ++ catalog.cattle.io/release-name: minio-operator ++kubeVersion: '>=1.19.0-0' +\ No newline at end of file diff --git a/packages/minio/package.yaml b/packages/minio/package.yaml new file mode 100644 index 000000000..da24577f5 --- /dev/null +++ b/packages/minio/package.yaml @@ -0,0 +1,2 @@ +url: https://raw.githubusercontent.com/minio/operator/master/helm-releases/operator-4.4.17.tgz +packageVersion: 00