Commit 3c5f010d authored by Prout, Ryan's avatar Prout, Ryan
Browse files

update readme

parent 7b8d32e8
Loading
Loading
Loading
Loading
+48 −5
Original line number Diff line number Diff line
@@ -238,12 +238,10 @@ minio:

**NOTE**: Please make sure you rename your ```minio.host``` value. This needs to be unique.

### Install the Chart
## Installing the Chart

### Log into Marble

First, clone the repo to your local system. Then, 'cd' into 'slate_helm_examples/charts'.
```
cd slate_helm_examples/charts
```

Log into Slate's Marble cluster with the OC CLI Tool.
```
@@ -258,20 +256,65 @@ You have one project on this server: "stf007"

Using project "stf007".
```
### Create secret token (do not keep this in a repo, only locally)

One thing we need to do is create the username and password for MinIO as environment secrets. To avoid keeping the secret-tokens.yaml file in the public repository, we will quickly creat that manually here and install it in your namespace.

Example secret-token.yaml file:

```
apiVersion: v1
kind: List
metadata: {}
items:
- apiVersion: v1
  kind: Secret
  metadata:
    name: minio-standalone-access-key
  stringData:
    SECRET_TOKEN: <your_choice>
- apiVersion: v1
  kind: Secret
  metadata:
    name: minio-standalone-secret-key
  stringData:
    SECRET_TOKEN: <your_choice>
```
Replace ```<your_choice>``` with your secret tokens of choice. These map to username and passowrd respectively, when you get to the MinIO GUI.

Once you have your tokens in there, you can apply it like this:

```
oc apply -f secret-token.yaml
```
### Clone this repo

Clone the repo to your local system. Then, 'cd' into 'slate_helm_examples/charts'.

```
git clone https://code.ornl.gov/ryu/slate_helm_examples.git && cd slate_helm_examples/charts
```

### Check Helm works

Run simple Helm command to make sure it works properly (assuming the use of helm3):

```
helm ls
```

Output will be similar, depending on if you have any existing applications (may be empty):

```
NAME                              NAMESPACE REVISION  UPDATED                               STATUS    CHART                   APP VERSION
gitlab-runner-for-slate-examples  stf007    9         2020-05-18 11:31:08.3245 -0400 EDT    deployed  gitlab-runner-0.16.1    12.10.2    
minio-standalone                  stf007    4         2020-05-19 13:00:38.165911 -0400 EDT  deployed  minio-standalone-1.0.0
```

### Use Helm to install MinIO Standalone

Use helm to install the application into your namespace/project:

```
helm install minio-standalone minio-standalone/ --namespace <your_namespace>
```