mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
feat: archivw whoogle
This commit is contained in:
15
.archive/kubernetes/resilio-sync/claude/config/sync.conf
Normal file
15
.archive/kubernetes/resilio-sync/claude/config/sync.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"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" ]
|
||||
}
|
||||
}
|
123
.archive/kubernetes/resilio-sync/claude/helmrelease.yaml
Normal file
123
.archive/kubernetes/resilio-sync/claude/helmrelease.yaml
Normal file
@@ -0,0 +1,123 @@
|
||||
---
|
||||
# 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
|
15
.archive/kubernetes/resilio-sync/claude/kustomization.yaml
Normal file
15
.archive/kubernetes/resilio-sync/claude/kustomization.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
# 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
|
15
.archive/kubernetes/resilio-sync/helene/config/sync.conf
Normal file
15
.archive/kubernetes/resilio-sync/helene/config/sync.conf
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"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" ]
|
||||
}
|
||||
}
|
105
.archive/kubernetes/resilio-sync/helene/helmrelease.yaml
Normal file
105
.archive/kubernetes/resilio-sync/helene/helmrelease.yaml
Normal file
@@ -0,0 +1,105 @@
|
||||
---
|
||||
# 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
|
15
.archive/kubernetes/resilio-sync/helene/kustomization.yaml
Normal file
15
.archive/kubernetes/resilio-sync/helene/kustomization.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
# 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
|
58
.archive/kubernetes/resilio-sync/ks.yaml
Normal file
58
.archive/kubernetes/resilio-sync/ks.yaml
Normal file
@@ -0,0 +1,58 @@
|
||||
---
|
||||
# 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"
|
Reference in New Issue
Block a user