Skip to content

Commit

Permalink
Merge pull request #24 from SamuAlfageme/revad_additions
Browse files Browse the repository at this point in the history
revad: add group support & empty 'ocm-providers.json' by default
  • Loading branch information
SamuAlfageme authored Apr 27, 2021
2 parents c2b9efb + 31ce066 commit 76bc1be
Show file tree
Hide file tree
Showing 3 changed files with 187 additions and 29 deletions.
15 changes: 12 additions & 3 deletions revad/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,29 @@ apiVersion: v2
name: revad
description: The Reva daemon (revad) helm chart
type: application
version: 1.2.2
appVersion: v1.5.1
version: 1.2.3
appVersion: v1.7.0
icon: https://reva.link/logo.svg
home: https://reva.link
sources:
- https://github.com/cs3org/reva
maintainers:
- name: SamuAlfageme
email: samuel.alfageme.sainz@cern.ch
- name: labkode
email: hugo.gonzalez.labrador@cern.ch
- name: ishank011
email: ishank.arora@cern.ch
keywords:
- iop
- cs3apis
- cloud-storage
- sync-and-share
annotations:
artifacthub.io/changes: |
- Add chart metadata for artifacthub.io integration
- Enable group support by default, providing some placeholder groups
- Inject an empty 'ocm-providers.json' to prevent revad from crashing at startup
- Add maintainters to the chart
artifacthub.io/images: |
- name: revad
image: cs3org/revad:latest
54 changes: 28 additions & 26 deletions revad/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,32 +29,34 @@ $ helm delete my-reva

The following configurations may be set. It is recommended to use `values.yaml` for overwriting the revad config.

| Parameter | Description | Default |
| ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------- |
| `replicaCount` | How many replicas to run. | `1` |
| `image.repository` | Name of the image to run, without the tag. | [`cs3org/revad`](https://hub.docker.com/r/cs3org/revad) |
| `image.tag` | The image tag to use. | `latest` |
| `image.pullPolicy` | The kubernetes image pull policy. | `Always` |
| `service.type` | The kubernetes service type to use. | `ClusterIP` |
| `service.grpc.port` | Revad's GRPC Service port. To be set on the `address` under the `[grpc]` section of the config. | `19000`. Can be explicitly disabled by setting `service.grpc` to `null`. |
| `service.http.port` | Revad's HTTP Service port. To be set on the `address` under the `[http]` section of the config. | `19001`. Can be explicitly disabled by setting `service.http` to `null`. |
| `extraVolumeMounts` | Array of additional volume mounts. | `[]` |
| `extraVolumes` | Array of additional volumes. | `[]` |
| `emptyDir.sizeLimit` | `emptyDir` `sizeLimit` if a Persistent Volume is not used | `""` |
| `persistentVolume.enabled` | If true, Revad will create a Persistent Volume Claim. | `false` |
| `persistentVolume.accessModes` | Revad data Persistent Volume access modes. | `[ReadWriteOnce]` |
| `persistentVolume.annotations` | Revad data Persistent Volume annotations. | `{}` |
| `persistentVolume.existingClaim` | Revad data pre-existing Persistent Volume Claim's name. | `""` |
| `persistentVolume.mountPath` | Revad data Persistent Volume mount root path. To be set as the `storage` service `root`. | `/var/tmp/reva` |
| `persistentVolume.subPath` | Subdirectory of the Persistent Volume to mount as Revad's datadir. | `""` |
| `persistentVolume.size` | Revad data Persistent Volume size. | `2Gi` |
| `persistentVolume.storageClass` | [PVC Storage Class](https://kubernetes.io/docs/concepts/storage/storage-classes/#the-storageclass-resource). | `unset` |
| `persistentVolume.volumeBindingMode` | [PVC Binding Mode](https://kubernetes.io/docs/concepts/storage/storage-classes/#volume-binding-mode). | `unset` |
| `env` | Dictionary of environment variables passed to the container in `NAME:value` form. | `{}` |
| `extraEnv` | List of environment variables passed to the container in pod field (`name` and `value`/`valueFrom`) form. | `[]` |
| `envFrom` | List of sources (ConfigMap/Secret) to populate environment variables in the container. | `[]` |
| `configFiles.revad\\.toml` | Revad [config file](https://reva.link/docs/config/). Mounted on `/etc/revad/`. | [`examples/standalone/standalone.toml`](https://github.com/cs3org/reva/blob/master/examples/standalone/standalone.toml) |
| `configFiles.users\\.json` | Revad `users.json` for the `auth_manager` and `userprovider` services. Mounted on `/etc/revad/`. | [`examples/standalone/users.demo.json`](https://github.com/cs3org/reva/blob/master/examples/standalone/users.demo.json) |
| Parameter | Description | Default |
| ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------- |
| `replicaCount` | How many replicas to run. | `1` |
| `image.repository` | Name of the image to run, without the tag. | [`cs3org/revad`](https://hub.docker.com/r/cs3org/revad) |
| `image.tag` | The image tag to use. | `latest` |
| `image.pullPolicy` | The kubernetes image pull policy. | `Always` |
| `service.type` | The kubernetes service type to use. | `ClusterIP` |
| `service.grpc.port` | Revad's GRPC Service port. To be set on the `address` under the `[grpc]` section of the config. | `19000`. Can be explicitly disabled by setting `service.grpc` to `null`. |
| `service.http.port` | Revad's HTTP Service port. To be set on the `address` under the `[http]` section of the config. | `19001`. Can be explicitly disabled by setting `service.http` to `null`. |
| `extraVolumeMounts` | Array of additional volume mounts. | `[]` |
| `extraVolumes` | Array of additional volumes. | `[]` |
| `emptyDir.sizeLimit` | `emptyDir` `sizeLimit` if a Persistent Volume is not used | `""` |
| `persistentVolume.enabled` | If true, Revad will create a Persistent Volume Claim. | `false` |
| `persistentVolume.accessModes` | Revad data Persistent Volume access modes. | `[ReadWriteOnce]` |
| `persistentVolume.annotations` | Revad data Persistent Volume annotations. | `{}` |
| `persistentVolume.existingClaim` | Revad data pre-existing Persistent Volume Claim's name. | `""` |
| `persistentVolume.mountPath` | Revad data Persistent Volume mount root path. To be set as the `storage` service `root`. | `/var/tmp/reva` |
| `persistentVolume.subPath` | Subdirectory of the Persistent Volume to mount as Revad's datadir. | `""` |
| `persistentVolume.size` | Revad data Persistent Volume size. | `2Gi` |
| `persistentVolume.storageClass` | [PVC Storage Class](https://kubernetes.io/docs/concepts/storage/storage-classes/#the-storageclass-resource). | `unset` |
| `persistentVolume.volumeBindingMode` | [PVC Binding Mode](https://kubernetes.io/docs/concepts/storage/storage-classes/#volume-binding-mode). | `unset` |
| `env` | Dictionary of environment variables passed to the container in `NAME:value` form. | `{}` |
| `extraEnv` | List of environment variables passed to the container in pod field (`name` and `value`/`valueFrom`) form. | `[]` |
| `envFrom` | List of sources (ConfigMap/Secret) to populate environment variables in the container. | `[]` |
| `configFiles.revad\\.toml` | Revad [config file](https://reva.link/docs/config/). Mounted on `/etc/revad/`. | [`examples/standalone/standalone.toml`](https://github.com/cs3org/reva/blob/master/examples/standalone/standalone.toml) |
| `configFiles.users\\.json` | Revad `users.json` for the `auth_manager` and `userprovider` services. Mounted on `/etc/revad/`. | [`examples/standalone/users.demo.json`](https://github.com/cs3org/reva/blob/master/examples/standalone/users.demo.json) |
| `configFiles.groups\\.json` | Revad `groups.json` for the `groupprovider` service. Mounted on `/etc/revad/`. | [`examples/standalone/groups.demo.json`](https://github.com/cs3org/reva/blob/master/examples/standalone/groups.demo.json) |
| `configFiles.ocm-providers\\.json` | Revad `ocm-providers.json` for the `ocmproviderauthorizer` service. Mounted on `/etc/revad/`. | `[]` |

> **Note:** `service.grpc` and `service.http` can't be both `null`.
Expand Down
Loading

0 comments on commit 76bc1be

Please sign in to comment.