remove plex ingress and expose port directly

This commit is contained in:
2024-07-25 03:27:12 +10:00
parent 6b0768c7db
commit 21b0f33a9a
4 changed files with 8 additions and 33 deletions

View File

@@ -1,31 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: plex-ingress
namespace: plex
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/use-regex: "true"
spec:
ingressClassName: nginx
rules:
- host: "plex.cluster.edward.sydney"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: plex-media-server
port:
number: 32400
- host: "plex.cluster.local"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: plex-media-server
port:
number: 32400

View File

@@ -1,5 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../base
- ./ingress.yaml
- ../../base