Files
auricom-home-cluster/kubernetes/apps/default/resilio-sync/claude/helmrelease.yaml
2024-01-25 14:19:53 +01:00

122 lines
3.0 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:
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
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:
config:
enabled: true
existingClaim: *app
globalMounts:
- path: /config
sync-conf:
type: configMap
name: resilio-claude-configmap
globalMounts:
- path: /config/sync.conf
subPath: sync.conf
backups:
type: nfs
server: "192.168.9.10"
path: /mnt/storage/backups
globalMounts:
- path: /sync/backup
home-claude:
type: nfs
server: "192.168.9.10"
path: /mnt/storage/home/claude
globalMounts:
- path: /sync/home/claude
music-transcoded:
type: nfs
server: "192.168.9.10"
path: /mnt/storage/music_transcoded
globalMounts:
- path: /sync/music_transcoded
photo:
type: nfs
server: "192.168.9.10"
path: /mnt/storage/photo
globalMounts:
- path: /sync/photo
shared-documents:
type: nfs
server: "192.168.9.10"
path: /mnt/storage/shared-documents
globalMounts:
- path: /sync/shared-documents
video:
type: nfs
server: "192.168.9.10"
path: /mnt/storage/video
globalMounts:
- path: /sync/video