From cc3fd611a1e082d64052c853f182343204590951 Mon Sep 17 00:00:00 2001 From: nold Date: Fri, 21 Jul 2023 18:23:31 +0200 Subject: [PATCH] add(snapserver/snapcast) --- projects/music/project.yaml | 4 ++ projects/music/values/snapcast.yaml | 71 +++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 projects/music/values/snapcast.yaml diff --git a/projects/music/project.yaml b/projects/music/project.yaml index f34b1e06..18613308 100644 --- a/projects/music/project.yaml +++ b/projects/music/project.yaml @@ -7,3 +7,7 @@ apps: chart: app-template targetRevision: 1.5.1 + - name: snapcast + repoURL: https://charts.buvis.net + chart: snapserver + targetRevision: 0.1.6 diff --git a/projects/music/values/snapcast.yaml b/projects/music/values/snapcast.yaml new file mode 100644 index 00000000..da581351 --- /dev/null +++ b/projects/music/values/snapcast.yaml @@ -0,0 +1,71 @@ +# Source: https://raw.githubusercontent.com/buvis/helm-charts/main/charts/snapserver/values.yaml +service: + main: + annotations: + metallb.universe.tf/allow-shared-ip: "snapcast" + +image: + repository: saiyato/snapserver + tag: + pullPolicy: IfNotPresent + +securityContext: + allowPrivilegeEscalation: false + +service: + main: + annotations: + metallb.universe.tf/allow-shared-ip: "snapcast" + ports: + http: + port: 80 + targetPort: 1780 + + audio: + type: LoadBalancer + annotations: + metallb.universe.tf/allow-shared-ip: "snapcast" + ports: + audio: + port: 1704 + + control: + annotations: + metallb.universe.tf/allow-shared-ip: "snapcast" + type: LoadBalancer + ports: + control: + port: 1705 + + stream1: + annotations: + metallb.universe.tf/allow-shared-ip: "snapcast" + type: LoadBalancer + ports: + stream1: + port: 4955 + +ingress: + main: + enabled: true + annotations: + cert-manager.io/cluster-issuer: vault-issuer + hosts: + - host: snapcast.dc + paths: + - path: / + pathType: Prefix + service: + port: 1780 + tls: + - secretName: snapcast-tls + hosts: + - snapcast.dc + + +resources: + requests: + cpu: 15m + memory: 64M + limits: + memory: 64M