mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-10-31 18:07:50 +00:00
fix: media player services
Correct labels and svc type
This commit is contained in:
@@ -7,18 +7,12 @@ metadata:
|
|||||||
cert-manager.io/cluster-issuer: cloudflare-cluster-issuer
|
cert-manager.io/cluster-issuer: cloudflare-cluster-issuer
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: cilium
|
ingressClassName: cilium
|
||||||
tls:
|
defaultBackend:
|
||||||
- hosts:
|
|
||||||
- jellyfin.stonegarden.dev
|
|
||||||
secretName: jellyfin-ingress-tls
|
|
||||||
rules:
|
|
||||||
- host: jellyfin.stonegarden.dev
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
backend:
|
|
||||||
service:
|
service:
|
||||||
name: jellyfin
|
name: jellyfin
|
||||||
port:
|
port:
|
||||||
number: 8096
|
name: web
|
||||||
|
tls:
|
||||||
|
- secretName: jellyfin-ingress-tls
|
||||||
|
hosts:
|
||||||
|
- jellyfin.stonegarden.dev
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ metadata:
|
|||||||
name: jellyfin
|
name: jellyfin
|
||||||
namespace: jellyfin
|
namespace: jellyfin
|
||||||
annotations:
|
annotations:
|
||||||
io.cilium/lb-ipam-ips: 192.168.1.228
|
io.cilium/lb-ipam-ips: 192.168.1.229
|
||||||
spec:
|
spec:
|
||||||
|
type: LoadBalancer
|
||||||
selector:
|
selector:
|
||||||
app: jellyfin
|
app: jellyfin
|
||||||
type: LoadBalancer
|
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: web
|
||||||
port: 8096
|
port: 8096
|
||||||
@@ -11,6 +11,9 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
app: plex
|
app: plex
|
||||||
template:
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: plex
|
||||||
spec:
|
spec:
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
topology.kubernetes.io/zone: abel
|
topology.kubernetes.io/zone: abel
|
||||||
|
|||||||
@@ -7,18 +7,12 @@ metadata:
|
|||||||
cert-manager.io/cluster-issuer: cloudflare-cluster-issuer
|
cert-manager.io/cluster-issuer: cloudflare-cluster-issuer
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: cilium
|
ingressClassName: cilium
|
||||||
tls:
|
defaultBackend:
|
||||||
- hosts:
|
|
||||||
- plex.stonegarden.dev
|
|
||||||
secretName: plex-ingress-tls
|
|
||||||
rules:
|
|
||||||
- host: plex.stonegarden.dev
|
|
||||||
http:
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: Prefix
|
|
||||||
backend:
|
|
||||||
service:
|
service:
|
||||||
name: plex
|
name: plex
|
||||||
port:
|
port:
|
||||||
number: 32400
|
name: web
|
||||||
|
tls:
|
||||||
|
- secretName: plex-ingress-tls
|
||||||
|
hosts:
|
||||||
|
- plex.stonegarden.dev
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ configMapGenerator:
|
|||||||
namespace: plex
|
namespace: plex
|
||||||
literals:
|
literals:
|
||||||
- TZ="Europe/Oslo"
|
- TZ="Europe/Oslo"
|
||||||
|
- PLEX_ADVERTISE_URL=https://plex.stonegarden.dev:443,http://192.168.1.228:32400
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- ns.yaml
|
- ns.yaml
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ metadata:
|
|||||||
name: plex
|
name: plex
|
||||||
namespace: plex
|
namespace: plex
|
||||||
annotations:
|
annotations:
|
||||||
io.cilium/lb-ipam-ips: 192.168.1.229
|
io.cilium/lb-ipam-ips: 192.168.1.228
|
||||||
spec:
|
spec:
|
||||||
|
type: LoadBalancer
|
||||||
selector:
|
selector:
|
||||||
app: plex
|
app: plex
|
||||||
type: LoadBalancer
|
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: web
|
||||||
port: 32400
|
port: 32400
|
||||||
Reference in New Issue
Block a user