Files
k8s-at-home-charts/charts/stable/filebrowser/templates/common.yaml
Jonas Janz 1ac1ecbd82 [filebrowser] add new filebrowser chart (#1253)
* [filebrowser] add new filebrowser chart

Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com>

* [filebrowser] auto-generate docs

Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com>

* [filebrowser] fix default location of database

the database file should be in it's own PVC to ensure,
that people can use NFS for the files.

Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com>

* [filebrowser] add code suggestions

decrease initial version to 0.0.1
don't set defaults for accessMode or size for PersitentVolumeClaims
use template for ConfigMap

Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com>

* [filebrowse] move chart to stable

increase version to 1.0.0
re-run helm-docs
increase app-version to 2.18.0

Signed-off-by: PixelJonas <5434875+PixelJonas@users.noreply.github.com>
2021-11-14 09:47:30 -05:00

15 lines
451 B
YAML

{{/* Append the configMap volume to the volumes */}}
{{- define "filebrowser.configVolume" -}}
enabled: "true"
mountPath: "/.filebrowser.json"
subPath: ".filebrowser.json"
type: "custom"
volumeSpec:
configMap:
name: {{ include "common.names.fullname" . }}-config
{{- end -}}
{{- $_ := set .Values.persistence "filebrowser-config" (include "filebrowser.configVolume" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "common.all" . }}