use standalone ingress for plex
This commit is contained in:
@@ -1,7 +1,3 @@
|
|||||||
ingress:
|
|
||||||
enabled: true
|
|
||||||
ingressClassName: nginx
|
|
||||||
url: plex.cluster.edward.sydney
|
|
||||||
pms:
|
pms:
|
||||||
configExistingClaim: plex-config-pvc
|
configExistingClaim: plex-config-pvc
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
|
|||||||
21
apps/plex/env/k3s-cluster/ingress.yaml
vendored
Normal file
21
apps/plex/env/k3s-cluster/ingress.yaml
vendored
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
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
|
||||||
1
apps/plex/env/k3s-cluster/kustomization.yaml
vendored
1
apps/plex/env/k3s-cluster/kustomization.yaml
vendored
@@ -2,3 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ../../base
|
- ../../base
|
||||||
|
- ./ingress.yaml
|
||||||
Reference in New Issue
Block a user