Files
talos-cluster/kubernetes/apps/media/qui/app/helmrelease.yaml

88 lines
2.5 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app qui
spec:
interval: 1h
chartRef:
kind: OCIRepository
name: app-template
driftDetection:
ignore:
- paths: [/spec/replicas]
values:
controllers:
*app :
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: ghcr.io/autobrr/qui
tag: v1.14.1@sha256:10b7945d4f0978f56a7cb939a011e1aeef3b8d500e825f409599ae754f95601b
env:
QUI__HOST: 0.0.0.0
QUI__PORT: &port 80
QUI__LOG_LEVEL: INFO
# oidc - make it true later
QUI__OIDC_ENABLED: false
# QUI__OIDC_ISSUER: https://auth.tholinka.dev/application/o/qui/
# QUI__OIDC_REDIRECT_URL: https://qui.tholinka.dev/api/auth/oidc/callback
# QUI__OIDC_DISABLE_BUILT_IN_LOGIN: true
envFrom:
- secretRef:
name: "{{ .Release.Name }}"
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /health
port: *port
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
readiness: *probes
resources:
requests:
cpu: 10m
limits:
memory: 2G
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
defaultPodOptions:
securityContext:
runAsNonRoot: true
runAsUser: 1003
runAsGroup: 1005
fsGroup: 1005
fsGroupChangePolicy: OnRootMismatch
service:
app:
ports:
http:
port: *port
route:
app:
hostnames:
- "{{ .Release.Name }}.laurivan.com"
parentRefs:
- name: envoy-internal
namespace: network
persistence:
config:
existingClaim: "{{ .Release.Name }}"
media:
type: nfs
server: 10.0.0.14
path: /mnt/Main/shares
globalMounts:
- path: /media