feat: archive resilio sync

This commit is contained in:
auricom
2024-05-20 00:22:41 +02:00
parent d8929b2a4c
commit c5f5e92ca2
8 changed files with 0 additions and 1 deletions

View File

@@ -46,7 +46,6 @@ resources:
- ./radarr/ks.yaml
- ./recyclarr/ks.yaml
- ./redlib/ks.yaml
- ./resilio-sync/ks.yaml
- ./sabnzbd/ks.yaml
- ./sharry/ks.yaml
- ./sonarr/ks.yaml

View File

@@ -1,15 +0,0 @@
{
"listening_port" : 55555,
"storage_path" : "/config",
"vendor" : "docker",
"display_new_version": false,
"directory_root_policy" : "belowroot",
"directory_root" : "/sync/",
"webui" :
{
"listen" : "0.0.0.0:8888",
"allow_empty_password" : false,
"dir_whitelist" : [ "/sync" ]
}
}

View File

@@ -1,123 +0,0 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: &app resilio-claude
namespace: default
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.1.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
uninstall:
keepHistory: false
values:
defaultPodOptions:
securityContext:
runAsUser: 0
controllers:
resilio-claude:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/auricom/resilio-sync
tag: 2.8.0@sha256:b30f6084396dbb4cbd0d4416580c8f7f9065fcc947ffae6e5d2067beb4f190bb
env:
- name: TZ
value: "${TIMEZONE}"
resources:
requests:
cpu: 250m
memory: 512Mi
limits:
memory: 2Gi
service:
app:
controller: *app
ports:
http:
port: 8888
com:
port: 55555
ingress:
app:
enabled: true
className: nginx
annotations:
hajimari.io/icon: mdi:file-arrow-up-down
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
existingClaim: *app
globalMounts:
- path: /config
sync-conf:
type: configMap
name: resilio-claude-configmap
globalMounts:
- path: /app/sync.conf
subPath: sync.conf
backups:
type: nfs
server: 192.168.9.10
path: /var/mnt/vol1/backups
globalMounts:
- path: /sync/backup
home-claude:
type: nfs
server: 192.168.9.10
path: /var/mnt/vol1/home/claude
globalMounts:
- path: /sync/home/claude
music-transcoded:
type: nfs
server: 192.168.9.10
path: /var/mnt/vol1/music_transcoded
globalMounts:
- path: /sync/music_transcoded
photo:
type: nfs
server: 192.168.9.10
path: /var/mnt/vol1/photo
globalMounts:
- path: /sync/photo
shared-documents:
type: nfs
server: 192.168.9.10
path: /var/mnt/vol1/shared-documents
globalMounts:
- path: /sync/shared-documents
video:
type: nfs
server: 192.168.9.10
path: /var/mnt/vol1/video
globalMounts:
- path: /sync/video

View File

@@ -1,15 +0,0 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/kustomization.json
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: default
resources:
- ./helmrelease.yaml
- ../../../../templates/gatus/guarded
- ../../../../templates/volsync
configMapGenerator:
- name: resilio-claude-configmap
files:
- ./config/sync.conf
generatorOptions:
disableNameSuffixHash: true

View File

@@ -1,15 +0,0 @@
{
"listening_port" : 55556,
"storage_path" : "/config",
"vendor" : "docker",
"display_new_version": false,
"directory_root_policy" : "belowroot",
"directory_root" : "/sync/",
"webui" :
{
"listen" : "0.0.0.0:8889",
"allow_empty_password" : false,
"dir_whitelist" : [ "/sync" ]
}
}

View File

@@ -1,105 +0,0 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: &app resilio-helene
namespace: default
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.1.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
uninstall:
keepHistory: false
values:
defaultPodOptions:
securityContext:
runAsUser: 0
controllers:
resilio-helene:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/auricom/resilio-sync
tag: 2.8.0@sha256:b30f6084396dbb4cbd0d4416580c8f7f9065fcc947ffae6e5d2067beb4f190bb
env:
- name: TZ
value: "${TIMEZONE}"
resources:
requests:
cpu: 250m
memory: 512Mi
limits:
memory: 2Gi
service:
app:
controller: *app
ports:
http:
port: 8889
com:
port: 55556
ingress:
app:
enabled: true
className: nginx
annotations:
hajimari.io/icon: mdi:file-arrow-up-down
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
existingClaim: *app
globalMounts:
- path: /config
sync-conf:
type: configMap
name: resilio-helene-configmap
globalMounts:
- path: /app/sync.conf
subPath: sync.conf
backups:
type: nfs
server: 192.168.9.10
path: /var/mnt/vol1/backups
globalMounts:
- path: /sync/backup
home-helene:
type: nfs
server: 192.168.9.10
path: /var/mnt/vol1/home/helene
globalMounts:
- path: /sync/home
photo:
type: nfs
server: 192.168.9.10
path: /var/mnt/vol1/photo
globalMounts:
- path: /sync/photo

View File

@@ -1,15 +0,0 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/kustomization.json
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: default
resources:
- ./helmrelease.yaml
- ../../../../templates/gatus/guarded
- ../../../../templates/volsync
configMapGenerator:
- name: resilio-helene-configmap
files:
- ./config/sync.conf
generatorOptions:
disableNameSuffixHash: true

View File

@@ -1,58 +0,0 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app resilio-claude
namespace: flux-system
spec:
targetNamespace: default
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/default/resilio-sync/claude
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
dependsOn:
- name: rook-ceph-cluster
- name: volsync
wait: false
interval: 30m
retryInterval: 1m
timeout: 5m
postBuild:
substitute:
APP: *app
VOLSYNC_CAPACITY: 2Gi
GATUS_STATUS: "401"
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/kustomization-kustomize-v1.json
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app resilio-helene
namespace: flux-system
spec:
targetNamespace: default
commonMetadata:
labels:
app.kubernetes.io/name: *app
path: ./kubernetes/apps/default/resilio-sync/helene
prune: true
sourceRef:
kind: GitRepository
name: home-ops-kubernetes
dependsOn:
- name: rook-ceph-cluster
- name: volsync
wait: false
interval: 30m
retryInterval: 1m
timeout: 5m
postBuild:
substitute:
APP: *app
VOLSYNC_CAPACITY: 2Gi
GATUS_STATUS: "401"