feat: first import

This commit is contained in:
Julien Cabillot 2022-03-03 08:30:52 -05:00
parent 42ef4ddd86
commit 68439307d0
6 changed files with 123 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
# OWNERS file for Kubernetes
OWNERS
# helm-docs templates
*.gotmpl

View File

@ -0,0 +1,27 @@
apiVersion: v2
description: Helm chart for filebrowser
name: filebrowser
type: application
version: 0.0.7
kubeVersion: ">=1.16.0-0"
keywords:
- filebrowser
home: https://scm.docker.cabillot.eu/web/filebrowser-helm/
sources:
- https://github.com/filebrowser/filebrowser
maintainers:
- name: Julien Cabillot
email: dockerimages@cabillot.eu
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
#appVersion: "1.16.0"
appVersion: "latest"
dependencies:
- name: common
repository: "https://scm.docker.cabillot.eu/perso/helm-library-common/raw/branch/master/"
version: 4.2.0

View File

@ -0,0 +1,2 @@
# filebrowser-helm

View File

@ -0,0 +1 @@
{{- include "common.notes.defaultNotes" . -}}

View File

@ -0,0 +1,5 @@
{{/* Make sure all variables are set properly */}}
{{- include "common.values.setup" . }}
{{/* Render the templates */}}
{{ include "common.all" . }}

View File

@ -0,0 +1,62 @@
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://scm.docker.cabillot.eu/perso/helm-library-common
#
image:
repository: docker.io/filebrowser/filebrowser
tag: ""
pullPolicy: Always
env:
TZ: America/New_York
service:
main:
ports:
http:
port: 8080
ingress:
main:
enabled: false
automountServiceAccountToken: false
configmap:
config:
enabled: true
data:
config.json: |
{
"port": 8080,
"address": "",
"database": "/database/database.db",
"root": "/srv",
"allowCommands": true,
"allowEdit": true,
"allowNew": true,
"commands": []
}
persistence:
config:
enabled: true
type: configMap
# TODO: hardcodé, à changer
name: drive-filebrowser-config
mountPath: /.filebrowser.json
subPath: config.json
db:
enabled: true
mountPath: /database
size: 100Mi
accessMode: ReadWriteOnce
data:
enabled: true
type: hostPath
# TODO: hardcodé, à changer
hostPath: /mnt/cifs-dperso
mountPath: /srv