Add syncthing
parent
529738b910
commit
1bb78c8975
@ -0,0 +1,9 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: syncthing
|
||||
metadata:
|
||||
name: syncthing
|
||||
resources:
|
||||
- app/namespace.yaml
|
||||
- app/release.yaml
|
||||
- app/route.yaml
|
@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: syncthing
|
||||
labels:
|
||||
name: syncthing
|
@ -0,0 +1,23 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: syncthing
|
||||
namespace: syncthing
|
||||
spec:
|
||||
releaseName: syncthing
|
||||
chart:
|
||||
spec:
|
||||
chart: syncthing
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: k8s-home-lab
|
||||
namespace: repos
|
||||
interval: 60m
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
values:
|
||||
pesistence:
|
||||
data:
|
||||
enabled: true
|
||||
storageClass: ebs-hdd
|
@ -0,0 +1,17 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: syncthing-route
|
||||
namespace: syncthing
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- match: Host(`syncthing.trivernis.net`)
|
||||
kind: Rule
|
||||
middlewares:
|
||||
- name: strict-security-headers
|
||||
namespace: default
|
||||
services:
|
||||
- name: syncthing
|
||||
port: http
|
@ -0,0 +1,8 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: k8s-home-lab
|
||||
namespace: repos
|
||||
spec:
|
||||
interval: 60m
|
||||
url: https://k8s-home-lab.github.io/helm-charts/
|
Loading…
Reference in New Issue