Files
auricom-home-cluster/kubernetes/apps/default/resilio-sync/claude/helmrelease.yaml
2024-01-17 07:17:16 +00:00

126 lines
3.2 KiB
YAML

---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.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: 2.4.0
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
maxHistory: 2
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
uninstall:
keepHistory: false
values:
defaultPodOptions:
securityContext:
runAsUser: 0
controllers:
main:
type: statefulset
annotations:
reloader.stakater.com/auto: "true"
containers:
main:
image:
repository: ghcr.io/auricom/resilio-sync
tag: 2.7.3.1381-1@sha256:68433a99197d0c45804a7f984a7135760c40aa3ee531ac718b1165b630d86984
env:
- name: TZ
value: "${TIMEZONE}"
resources:
requests:
cpu: 250m
memory: 512Mi
limits:
memory: 2Gi
statefulset:
volumeClaimTemplates:
- name: config
accessMode: ReadWriteOnce
size: 1Gi
storageClass: rook-ceph-block
globalMounts:
- path: /config
service:
main:
ports:
http:
port: 8888
com:
port: 55555
ingress:
main:
enabled: true
className: "nginx"
annotations:
hajimari.io/icon: mdi:file-arrow-up-down
hosts:
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
paths:
- path: /
service:
name: main
port: http
tls:
- hosts:
- *host
persistence:
sync-conf:
type: configMap
name: resilio-claude-configmap
globalMounts:
- path: /config/sync.conf
subPath: sync.conf
backups:
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/backups
globalMounts:
- path: /sync/backup
home-claude:
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/home/claude
globalMounts:
- path: /sync/home/claude
music-transcoded:
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/music_transcoded
globalMounts:
- path: /sync/music_transcoded
photo:
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/photo
globalMounts:
- path: /sync/photo
shared-documents:
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/shared-documents
globalMounts:
- path: /sync/shared-documents
video:
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/video
globalMounts:
- path: /sync/video