theshire/kubernetes/apps/default/tautulli/app/helmrelease.yaml

119 lines
3.3 KiB
YAML
Raw Normal View History

2024-09-05 04:39:41 -05:00
---
2024-10-14 09:26:12 -05:00
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
2024-09-05 04:39:41 -05:00
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: tautulli
spec:
interval: 30m
chart:
spec:
chart: app-template
2024-10-10 06:01:18 -05:00
version: 3.5.1
2024-09-05 04:39:41 -05:00
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
retries: 3
strategy: rollback
values:
controllers:
tautulli:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/tautulli/tautulli
tag: v2.15.0@sha256:f13daee2a403a95a51902b2625de5f6b944f034e9cd790e9d2a0c5e84c9842cb
2024-09-05 04:39:41 -05:00
env:
TZ: America/Chicago
command: ["/usr/local/bin/python", "Tautulli.py"]
args: [
"--config", "/config/config.ini",
"--datadir", "/config",
"--port", "80"
]
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /status
port: &port 80
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
startup:
enabled: false
securityContext: &securityContext
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
resources:
requests:
cpu: 10m
limits:
memory: 1Gi
jbops:
image:
repository: registry.k8s.io/git-sync/git-sync
tag: v4.3.0@sha256:5813a7da0ccd58f6dfb9d5e48480e2877355e6bb3d7d81c8908eb1adc3a23b6e
2024-09-05 04:39:41 -05:00
env:
GITSYNC_REPO: https://github.com/blacktwin/JBOPS
GITSYNC_REF: master
GITSYNC_PERIOD: 24h
GITSYNC_ROOT: /add-ons
securityContext: *securityContext
resources:
requests:
cpu: 10m
limits:
memory: 128Mi
pod:
securityContext:
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
service:
app:
controller: tautulli
ports:
http:
port: *port
ingress:
app:
enabled: true
className: external-nginx
annotations:
external-dns.alpha.kubernetes.io/cloudflare-proxied: "true"
external-dns.alpha.kubernetes.io/target: external.hsn.dev
hosts:
- host: &host "t.hsn.dev"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *host
persistence:
config:
enabled: true
existingClaim: tautulli
tmp:
type: emptyDir
add-ons:
type: emptyDir