- V11 client_logs table with per-user storage and retention/pruning - POST/GET/DELETE /logs with batch validation, rate limit and admin access - redact bearer tokens, Authorization headers and query/JSON secrets twice - add X-Request-Id to responses and include it in the server log pattern - report client error entries immediately in the server log - scripts/logs.sh for source-side retrieval and clearing - chart knobs CLIENT_LOG_RETENTION_DAYS and CLIENT_LOG_MAX_ROWS_PER_USER
106 lines
2.9 KiB
YAML
106 lines
2.9 KiB
YAML
replicaCount: 1
|
|
|
|
# Every resource is rendered into the namespace passed with --namespace (or
|
|
# helmCharts[].namespace in Kustomize). Rendering fails when that namespace is
|
|
# missing or falls back to "default"; set this to true to allow "default".
|
|
allowDefaultNamespace: false
|
|
|
|
image:
|
|
repository: gitea.tap-tap.win/taptap/audiomanager
|
|
# CI publishes :latest and :sha-<commit> for every push to main.
|
|
tag: latest
|
|
pullPolicy: Always
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
# Vault-managed users.yaml. The secret must already exist and contain the key below.
|
|
users:
|
|
existingSecret: audiomanager-users
|
|
key: users.yaml
|
|
|
|
# Default catalog for new moods. Users can switch each mood between Deezer and
|
|
# YouTube Music. Deezer needs an ARL cookie: either `deezer.arl` below or a
|
|
# Secret referenced by `deezer.existingSecret`. Leave both empty to use
|
|
# YouTube Music only.
|
|
defaultSource: deezer
|
|
deezer:
|
|
# Option A (recommended on a shared machine): a Secret you manage separately.
|
|
# kubectl -n audiomanager create secret generic audiomanager-deezer \
|
|
# --from-literal=arl='<arl>'
|
|
existingSecret: ""
|
|
key: arl
|
|
# Option B: the ARL directly in values. It is stored in plaintext in this
|
|
# file, in `helm get values` and in the release Secret, so keep this file out
|
|
# of git (or pass it as `--set deezer.arl="$DEEZER_ARL"` instead).
|
|
# Set only one of `arl` and `existingSecret`.
|
|
arl: ""
|
|
# 0 = 128 kbps MP3 (Deezer Free), 1 = 320 kbps MP3 (Deezer Premium).
|
|
quality: 0
|
|
apiBase: https://api.deezer.com
|
|
|
|
# Per-track loudness normalization. New downloads are analyzed immediately and
|
|
# the existing library is backfilled gradually in the background.
|
|
loudness:
|
|
enabled: true
|
|
# -16 LUFS is the ReplayGain-style target; -14 matches most streaming services.
|
|
targetLufs: -16
|
|
|
|
# Client diagnostics uploaded by the apps. The server redacts credentials again
|
|
# and keeps only a short window so bug reports do not grow the database.
|
|
clientLogs:
|
|
retentionDays: 14
|
|
maxRowsPerUser: 20000
|
|
|
|
# The media root, database, cover cache and download temp dir all live here.
|
|
data:
|
|
persistence:
|
|
enabled: true
|
|
# Songs are downloaded automatically, so plan for growth.
|
|
size: 20Gi
|
|
storageClass: ""
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 8080
|
|
|
|
ingress:
|
|
enabled: true
|
|
className: traefik
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt-issuer
|
|
host: subsonic.tap-tap.win
|
|
path: /
|
|
pathType: Prefix
|
|
tls:
|
|
enabled: true
|
|
secretName: subsonic-tap-tap-win-tls
|
|
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 2000m
|
|
memory: 1024Mi
|
|
|
|
podSecurityContext:
|
|
fsGroup: 10001
|
|
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 10001
|
|
runAsGroup: 10001
|
|
readOnlyRootFilesystem: true
|
|
allowPrivilegeEscalation: false
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
|
|
nodeSelector: {}
|
|
tolerations: []
|
|
affinity: {}
|