From f39aefeb7acb3862c7fbc18685fcb65f92bb5039 Mon Sep 17 00:00:00 2001 From: Martyn Ranyard Date: Mon, 20 Nov 2023 21:36:35 +0100 Subject: [PATCH] Adds syncthing Signed-off-by: Martyn Ranyard --- everything-app/project-apps.yaml | 1 + everything-app/syncthing.yaml | 33 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 everything-app/syncthing.yaml diff --git a/everything-app/project-apps.yaml b/everything-app/project-apps.yaml index fb1de5b..4a7769e 100644 --- a/everything-app/project-apps.yaml +++ b/everything-app/project-apps.yaml @@ -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: '*' diff --git a/everything-app/syncthing.yaml b/everything-app/syncthing.yaml new file mode 100644 index 0000000..9b58edf --- /dev/null +++ b/everything-app/syncthing.yaml @@ -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