Files
auricom-home-cluster/.archive/kubernetes/resilio-sync/helene/helmrelease.yaml
2024-06-17 02:39:26 +02:00

106 lines
2.5 KiB
YAML

---
# 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