mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
91 lines
2.1 KiB
YAML
91 lines
2.1 KiB
YAML
---
|
|
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta1.json
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: &app resilio-helene
|
|
namespace: default
|
|
spec:
|
|
interval: 30m
|
|
chart:
|
|
spec:
|
|
chart: app-template
|
|
version: 1.5.1
|
|
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:
|
|
controller:
|
|
annotations:
|
|
reloader.stakater.com/auto: "true"
|
|
image:
|
|
repository: ghcr.io/auricom/resilio-sync
|
|
tag: 2.7.3.1381-1@sha256:82c861bccac8f159e5b92723dda922d4aec71a461c233760a63bfc51d7a1bb1a
|
|
env:
|
|
- name: TZ
|
|
value: "${TIMEZONE}"
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
port: 8889
|
|
com:
|
|
port: 55556
|
|
ingress:
|
|
main:
|
|
enabled: true
|
|
ingressClassName: "nginx"
|
|
annotations:
|
|
hajimari.io/icon: mdi:file-arrow-up-down
|
|
hosts:
|
|
- host: &host "{{ .Release.Name }}.${SECRET_CLUSTER_DOMAIN}"
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
persistence:
|
|
config:
|
|
enabled: true
|
|
existingClaim: resilio-helene-config
|
|
sync-conf:
|
|
enabled: true
|
|
type: configMap
|
|
configMap:
|
|
name: resilio-helene-configmap
|
|
mountPath: /config/sync.conf
|
|
subPath: sync.conf
|
|
backups:
|
|
enabled: true
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/backups
|
|
mountPath: /sync/backup
|
|
home-helene:
|
|
enabled: true
|
|
type: nfs
|
|
server: "${LOCAL_LAN_TRUENAS}"
|
|
path: /mnt/storage/home/helene
|
|
mountPath: /sync/home
|
|
podSecurityContext:
|
|
runAsUser: 0
|
|
resources:
|
|
requests:
|
|
cpu: 250m
|
|
memory: 512Mi
|
|
limits:
|
|
memory: 2Gi
|