Skip to content

Commit 6d302cc

Browse files
committed
Update README.md
1 parent 9f90c82 commit 6d302cc

File tree

1 file changed

+69
-24
lines changed

1 file changed

+69
-24
lines changed

README.md

Lines changed: 69 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
## TL;DR;
66

77
```bash
8-
$ helm repo add ncsa https://opensource.ncsa.illinois.edu/charts/
9-
$ helm install clowder ncsa/clowder --set commKey=clowderiscool
8+
helm repo add ncsa https://opensource.ncsa.illinois.edu/charts/
9+
helm install clowder ncsa/clowder --set commKey=clowderiscool
1010
```
1111

1212
## Introduction
@@ -24,7 +24,7 @@ This chart bootstraps a [Clowder](https://github.com/clowder-framework/clowder)
2424
To install the chart with the release name `my-release`:
2525

2626
```bash
27-
$ helm install --name my-release ncsa/clowder --set commKey=clowderiscool
27+
helm install my-release ncsa/clowder --set commKey=clowderiscool
2828
```
2929

3030
The command deploys Clowder on the Kubernetes cluster in the default configuration. The [configuration](#configuration) section lists the parameters that can be configured during installation. This will also install MongoDB, RabbitMQ, elasticsearch as well as some extractors.
@@ -36,61 +36,71 @@ The command deploys Clowder on the Kubernetes cluster in the default configurati
3636
To uninstall/delete the `my-release` deployment:
3737

3838
```bash
39-
$ helm delete my-release
39+
helm uninstall my-release
4040
```
4141

4242
The command removes all the Kubernetes components associated with the chart and deletes the release.
4343

4444
## Configuration
4545

46-
Needs to be written
47-
4846
The following table lists the configurable parameters of the Clowder chart and their default values.
4947

48+
### Clowder Options
49+
50+
A list of values frequently changed.
51+
5052
| Parameter | Description | Default |
5153
| ------------------------------------ | ------------------------------------------------ | -------------------------------------------------------
52-
| replicaCount | Number of instances to run of clowder. | 1
5354
| memory | Memory for the clowder application in MB. | 4096
5455
| commKey | Administrator key. This key will give administrator level access to Clowder and is not associated with any user. | ""
5556
| secretKey | Secret key used for cookies. This should be set the same for all clowder instances in a replicated setup. Best is for kubernetes to generate a random key. | ""
56-
| initialAdmins | List of initial admins in clowder, this is a list of email addresses and these will always be admins. | ""
57+
| initialAdmins | List of initial admins in clowder, this is a list of email addresses and these will always be admins. | []
5758
| registerThroughAdmins | Should the admin be required to approve all new users. Setting this to false will result in all new users immediately be given access to Clowder. | true
5859
| idleTimeoutInMinutes | Number of minutes you stay logged into clowder without any interactions. | 30
60+
| tempfolder | Folder used to save files by clowder, before being send to storage location. | /home/clowder/data/tmp
61+
| helpmenu | List of additional menu entries to be added to the clowder help menu. | []
62+
| userid | the id of the user that runs the clowder process, this is helpful if you want to write to a shared storage as a specific user. | 10001
63+
| groupid | the id of the groups that runs the clowder process, this is helpful if you want to write to a shared storage as a specific group. | 0
64+
| replicaCount | Number of instances to run of clowder. | 1
65+
| monitor.replicaCount | number of instances to run of monitor. | 1
66+
67+
### Extra Clowder Options
68+
69+
These options can be used to set any other clowder variables, or plugins.
70+
71+
| Parameter | Description | Default |
72+
| ------------------------------------ | ------------------------------------------------ | -------------------------------------------------------
5973
| extraOptions | List of additional options to be passed to the clowder process. | []
6074
| extraPlugins | List of additional plugins should be enabled. This will allow you to add additional login mechanisms. | []
6175
| extraConfig | List of additional configuration options to set for clowder. | []
62-
| monitor.replicaCount | number of instances to run of monitor. | 1
76+
| extraVolumes | List of additional volumes for clowder, for example to hold large datasets. | []
77+
| extraVolumeMounts | List of additional volumemounts for clowder, for example to hold large datasets. | []
6378

6479
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
6580

6681
```bash
67-
$ helm install --name my-release \
68-
--set clowderkey=ncsa \
69-
ncsa/clowder
82+
helm install my-release ncsa/clowder --set clowderkey=ncsa
7083
```
7184

7285
The above command sets the clowder admin key `ncsa`.
7386

7487
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
7588

7689
```bash
77-
$ helm install --name my-release -f values.yaml ncsa/clowder
90+
helm install my-release ncsa/clowder -f values.yaml
7891
```
7992

8093
> **Tip**: You can use the default [values.yaml](values.yaml)
8194
82-
## Users
95+
## Helpmenu
8396

84-
You can add a list of initial users to clowder. For example the following snippet will add an administrator with
85-
email address `[email protected]` and password `secret`.
97+
You can add additional entries to the help menu, each entry in the list needs to have a label and a URL, for example
98+
to add a FAQ:
8699

87-
```
88-
users:
89-
90-
password: secret
91-
firstname: Admin
92-
lastname: User
93-
admin: true
100+
```yaml
101+
helpmenu:
102+
- lalel: FAQ
103+
url: https://example.com/faq
94104
```
95105
96106
## Persistence
@@ -105,11 +115,46 @@ provide the bucket.
105115
1. Install the chart
106116
107117
```bash
108-
$ helm install --set persistence.existingClaim=PVC_NAME rabbitmq
118+
helm install my-release ncsa/clowder --set persistence.existingClaim=PVC_NAME
119+
```
120+
121+
## Extra Options
122+
123+
To mount additional storage:
124+
125+
```yaml
126+
extraVolumes:
127+
- name: sites
128+
persistentVolumeClaim:
129+
claimName: clowder-sites
130+
extraVolumeMounts:
131+
- name: sites
132+
mountPath: /home/clowder/sites
133+
readOnly: true
134+
```
135+
136+
To enable different login options (for example CILogon):
137+
138+
```yaml
139+
extraPlugins:
140+
- 10051:services.CILogonProvider
141+
extraConfig:
142+
- securesocial.registrationEnabled = false
143+
- securesocial.cilogon.authorizationUrl = "https://cilogon.org/authorize"
144+
- securesocial.cilogon.accessTokenUrl = "https://cilogon.org/oauth2/token"
145+
- securesocial.cilogon.userinfoUrl = "https://cilogon.org/oauth2/userinfo"
146+
- securesocial.cilogon.clientId = "cilogon:/client_id/XYZ"
147+
- securesocial.cilogon.clientSecret = "XYZ"
109148
```
110149
111150
## ChangeLog
112151
152+
### 0.14.4
153+
- allow for mounting of extra volumes in clowder
154+
- use tempfolder for clowder (/home/clowder/data/tmp)
155+
- use helpmenu to add additional entries to the botttom of the help menu.
156+
- remove users option, use initialadmins instead
157+
113158
### 0.14.3
114159
- Update clowder to version [1.19.2](https://github.com/clowder-framework/clowder/releases/tag/v1.19.2)
115160

0 commit comments

Comments
 (0)