From 459d263e72387ea0df4f6d4dad2f4cdc01e13414 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Fri, 16 Aug 2024 16:23:24 -0500 Subject: [PATCH] convert to using the tailscale ingress --- .../applications/audiobookshelf/Chart.yaml | 2 +- .../audiobookshelf/templates/service.yaml | 16 ++++++++++++++++ .../applications/audiobookshelf/values.yaml | 19 ------------------- 3 files changed, 17 insertions(+), 20 deletions(-) create mode 100644 clusters/cl01tl/applications/audiobookshelf/templates/service.yaml diff --git a/clusters/cl01tl/applications/audiobookshelf/Chart.yaml b/clusters/cl01tl/applications/audiobookshelf/Chart.yaml index 405b9ebde..ec3085e28 100644 --- a/clusters/cl01tl/applications/audiobookshelf/Chart.yaml +++ b/clusters/cl01tl/applications/audiobookshelf/Chart.yaml @@ -20,4 +20,4 @@ dependencies: repository: https://bjw-s.github.io/helm-charts/ version: 3.3.2 icon: https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/png/audiobookshelf.png -appVersion: 2.10.1 +appVersion: 2.12.3 diff --git a/clusters/cl01tl/applications/audiobookshelf/templates/service.yaml b/clusters/cl01tl/applications/audiobookshelf/templates/service.yaml new file mode 100644 index 000000000..b6562d03e --- /dev/null +++ b/clusters/cl01tl/applications/audiobookshelf/templates/service.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +kind: Service +metadata: + name: auth-cl01tl + namespace: {{ .Release.Namespace }} + labels: + app.kubernetes.io/name: auth-cl01tl + app.kubernetes.io/instance: {{ .Release.Name }} + app.kubernetes.io/version: {{ .Chart.AppVersion }} + app.kubernetes.io/component: tailscale + app.kubernetes.io/part-of: {{ .Release.Name }} + annotations: + tailscale.com/tailnet-fqdn: auth-cl01tl.boreal-beaufort.ts.net +spec: + externalName: placeholder + type: ExternalName diff --git a/clusters/cl01tl/applications/audiobookshelf/values.yaml b/clusters/cl01tl/applications/audiobookshelf/values.yaml index 99d36bbc8..2f515750b 100644 --- a/clusters/cl01tl/applications/audiobookshelf/values.yaml +++ b/clusters/cl01tl/applications/audiobookshelf/values.yaml @@ -29,25 +29,6 @@ audiobookshelf: targetPort: 80 protocol: HTTP ingress: - main: - enabled: true - className: traefik - annotations: - traefik.ingress.kubernetes.io/router.entrypoints: websecure - traefik.ingress.kubernetes.io/router.tls: "true" - cert-manager.io/cluster-issuer: letsencrypt-issuer - hosts: - - host: audiobookshelf.alexlebens.net - paths: - - path: / - pathType: Prefix - service: - name: audiobookshelf - port: 80 - tls: - - secretName: audiobookshelf-secret-tls - hosts: - - audiobookshelf.alexlebens.net tailscale: enabled: true className: tailscale