Skip to content

Commit

Permalink
chore(calibre-web): use ingress for tailscale
Browse files Browse the repository at this point in the history
  • Loading branch information
zebernst committed Feb 16, 2025
1 parent 06fc661 commit 1674956
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions kubernetes/apps/media/calibre-web/app/helmrelease.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
app:
image:
repository: crocodilestick/calibre-web-automated
tag: dev
tag: V3.0.4
env:
CACHE_DIR: /cache
CALIBRE_PORT: &port 8083
Expand Down Expand Up @@ -63,7 +63,6 @@ spec:
initialDelaySeconds: 60
failureThreshold: 45
periodSeconds: 5

resources:
requests:
cpu: 10m
Expand All @@ -79,19 +78,9 @@ spec:
http:
port: 80
targetPort: *port
tailscale:
controller: calibre-web
type: LoadBalancer
loadBalancerClass: tailscale
annotations:
tailscale.com/hostname: calibre-web
ports:
http:
port: 80
targetPort: *port

ingress:
app:
lan:
className: internal
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "0"
Expand All @@ -105,6 +94,18 @@ spec:
service:
identifier: app
port: http
ts:
className: tailscale
hosts:
- host: &tsHost "calibre-web.kite-harmonic.ts.net"
paths:
- path: /
service:
identifier: app
port: http
tls:
- hosts:
- *tsHost

persistence:
config:
Expand Down

0 comments on commit 1674956

Please sign in to comment.