This commit is contained in:
parent
c0b49c97d4
commit
9bb6865b5c
25
navidrome/navidrome-ingress.yaml
Normal file
25
navidrome/navidrome-ingress.yaml
Normal 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
|
||||||
|
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user