Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions revad/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: revad
description: The Reva daemon (revad) helm chart
type: application
version: 1.4.0
appVersion: v1.18.0
appVersion: v1.19.0
kubeVersion: ">= 1.19.0"
icon: https://reva.link/logo.svg
home: https://reva.link
Expand All @@ -23,7 +23,7 @@ keywords:
- sync-and-share
annotations:
artifacthub.io/changes: |
- "Update revad image to v1.18.0"
- "Update revad image to v1.19.0"
artifacthub.io/images: |
- name: revad
image: cs3org/revad:v1.18.0
image: cs3org/revad:v1.19.0
9 changes: 9 additions & 0 deletions revad/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ To install the chart with the release name `my-reva`:
```console
$ helm install my-reva cs3org/revad
```
Also, you can use `--set EFSS=OWNCLOUD` to config Reva for communication with OpenCloud Mesh

**Below parameters can be provided when you are trying start reva communicate with OpenCloud Mesh**
| Parameter | Default value | Description |
|---|---|---|
|OCURL|oc.docker|The URL of OpenCloud mesh provider|
|SharedSecret|123456| The secret that is shared with sciencemesh application|
|CertFile|revaoc1.crt| Name of ssl certificate file|
|CertKey|revaoc1.key| Name of ssl certificate key file|

## Uninstalling the Chart

Expand Down
8 changes: 7 additions & 1 deletion revad/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@ metadata:
labels:
{{- include "revad.labels" . | nindent 4 }}
data:
{{- $host := .Values.HostURL }}
{{- $ocHost := .Values.OCURL }}
{{- $secret := .Values.SharedSecret }}
{{- $port := toString .Values.HostPort }}
{{- $serviceName := include "revad.fullname" . }}
{{- $hostDomain := toString .Values.HostDomain }}
{{- range $filename, $fileContents := .Values.configFiles }}
{{ $filename }}: |-
{{ $fileContents | indent 4 }}
{{ $fileContents | replace "OC_URL" $ocHost | replace "SHARED_SECRET" $secret | replace "SERVICE_NAME" $serviceName | replace "HOST_DOMAIN" $hostDomain | indent 4 }}
{{- end }}
{{- end }}
6 changes: 5 additions & 1 deletion revad/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ spec:
- /usr/bin/revad
args:
- "-c"
- "/etc/revad/revad.toml"
- {{ if eq .Values.EFSS "OWNCLOUD" }}
{{- "/etc/revad/oc.revad.toml" }}
{{ else }}
{{- "/etc/revad/revad.toml" }}
{{ end }}
- "-p"
- "/var/run/revad.pid"
volumeMounts:
Expand Down
Loading