Adds syncthing

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2023-11-20 21:36:35 +01:00
parent fa8ad5f2ff
commit f39aefeb7a
2 changed files with 34 additions and 0 deletions

View File

@ -13,6 +13,7 @@ spec:
description: everything non-infra
sourceRepos:
- https://git.martyn.berlin/martyn/infra4talos.git
- https://k8s-at-home.com/charts/
destinations:
- name: '*'
namespace: '*'

View File

@ -0,0 +1,33 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: syncthing
namespace: argocd
spec:
destination:
namespace: syncthing
server: https://kubernetes.default.svc
project: default
source:
chart: syncthing
helm:
parameters:
- name: service.listen.enabled
value: "true"
- name: service.listen.ports.listen.enabled
value: "true"
- name: service.listen.type
value: LoadBalancer
- name: service.discovery.enabled
value: "false"
- name: service.discovery.ports.discovery.enabled
value: "false"
values: "persistence:\n data:\n enabled: true\n type: pvc\n accessMode:
ReadWriteOnce\n size: 5368709120\nservice:\n main:\n annotations:\n
\ external-dns.alpha.kubernetes.io/hostname: syncthing.martyn.berlin \n
\ type: LoadBalancer"
repoURL: https://k8s-at-home.com/charts/
targetRevision: 3.5.2
syncPolicy:
automated:
selfHeal: true