Skip to content

Commit

Permalink
Add syncthing (#55)
Browse files Browse the repository at this point in the history
* Add syncthing

* Add chart description
  • Loading branch information
cyxou authored Mar 16, 2023
1 parent 058da37 commit 3b16ecb
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 0 deletions.
27 changes: 27 additions & 0 deletions charts/syncthing/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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

# Manually added entries
ci/
examples/
Makefile
README.md.gotmpl
6 changes: 6 additions & 0 deletions charts/syncthing/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: librepod
repository: https://librepod.github.io/charts
version: 1.2.0
digest: sha256:1dcc99dc6525e660fe55ac3e87b1b36a4ca644b7728156d92f73371335e49290
generated: "2023-03-14T21:25:34.196299846+03:00"
25 changes: 25 additions & 0 deletions charts/syncthing/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
apiVersion: v2
name: syncthing
description: |
Syncthing is a continuous file synchronization program.
It synchronizes files between two or more computers in real time, safely protected from prying eyes.
version: 0.1.0
appVersion: "1.23"
kubeVersion: ">=1.16.0-0"
type: application
keywords:
- sync
- filesync
- syncthing
home: https://github.com/librepod/charts/tree/master/charts/syncthing
sources:
- https://github.com/librepod/charts/tree/master/charts/syncthing
- https://github.com/syncthing/syncthing
- https://github.com/syncthing/syncthing/blob/main/README-Docker.md
icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/syncthing.png
dependencies:
- name: librepod
version: 1.2.0
repository: https://librepod.github.io/charts
annotations:
category: My Apps
1 change: 1 addition & 0 deletions charts/syncthing/templates/all.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{- include "librepod.all" . -}}
52 changes: 52 additions & 0 deletions charts/syncthing/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
image:
repository: syncthing/syncthing
pullPolicy: IfNotPresent
tag: ""

service:
main:
enabled: true
ports:
http:
port: 8384
listen:
enabled: true
ports:
listen:
enabled: true
port: 22000
protocol: TCP
listen-udp:
enabled: true
ports:
listen-udp:
enabled: true
port: 22000
protocol: UDP
discovery:
enabled: true
ports:
discovery:
enabled: true
port: 21027
protocol: UDP

ingress:
main:
enabled: true
hosts:
- host: "{{ .Chart.Name }}.libre.pod"

dashboard:
expose: true
url: "https://{{ .Chart.Name }}.libre.pod"

persistence:
data:
enabled: true
type: pvc
mountPath: /var/syncthing
readOnly: false
accessMode: ReadWriteOnce
size: 20Gi
retain: true

0 comments on commit 3b16ecb

Please sign in to comment.