Files
auricom-home-cluster/kubernetes/apps/default/resilio-sync/helene/helmrelease.yaml

102 lines
2.5 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.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: 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:f512a3fdac4742aa93fa4daac01e8ba1f6c8ed380d3b5a808a545bbb48df2a41
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: 8889
com:
port: 55556
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-helene-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-helene:
type: nfs
server: "${LOCAL_LAN_TRUENAS}"
path: /mnt/storage/home/helene
globalMounts:
- path: /sync/home