Add navidrome ingress
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2024-05-26 17:22:22 -04:00
parent c0b49c97d4
commit 9bb6865b5c
2 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,25 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: navidrome-ingress
namespace: navidrome-ns
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
tls:
- hosts:
- music.clortox.com
secretName: music-clortox-com-tls
rules:
- host: music.clortox.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: navidrome
port:
number: 80 # Ensure this is the correct port your Navidrome service listens on

View File

@ -4,7 +4,7 @@ metadata:
name: navidrome-services name: navidrome-services
namespace: navidrome-ns namespace: navidrome-ns
spec: spec:
type: LoadBalancer type: ClusterIP
ports: ports:
- port: 80 - port: 80
targetPort: 4533 targetPort: 4533