Use helm chart for plex service
This commit is contained in:
parent
5202b7f3ca
commit
41c8764275
|
@ -28,12 +28,18 @@ spec:
|
||||||
ADVERTISE_IP: "https://plex.${SECRET_NEW_DOMAIN}/"
|
ADVERTISE_IP: "https://plex.${SECRET_NEW_DOMAIN}/"
|
||||||
ALLOWED_NETWORKS: "0.0.0.0/0"
|
ALLOWED_NETWORKS: "0.0.0.0/0"
|
||||||
|
|
||||||
# service:
|
service:
|
||||||
# main:
|
main:
|
||||||
# type:
|
type: LoadBalancer
|
||||||
# ports:
|
|
||||||
# http:
|
annotations:
|
||||||
# port: 32400
|
metallb.universe.tf/loadBalancerIPs: "192.168.87.100"
|
||||||
|
metallb.universe.tf/allow-shared-ip: "main-ip-192.168.87.10"
|
||||||
|
|
||||||
|
ports:
|
||||||
|
http:
|
||||||
|
port: 32400
|
||||||
|
targetPort: 32400
|
||||||
|
|
||||||
probes:
|
probes:
|
||||||
liveness:
|
liveness:
|
||||||
|
|
|
@ -2,4 +2,3 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./helm-release.yaml
|
- ./helm-release.yaml
|
||||||
- ./service.yaml
|
|
|
@ -1,18 +0,0 @@
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: plex
|
|
||||||
namespace: media
|
|
||||||
annotations:
|
|
||||||
metallb.universe.tf/allow-shared-ip: "main-ip-192.168.87.10"
|
|
||||||
spec:
|
|
||||||
type: LoadBalancer
|
|
||||||
loadBalancerIP: 192.168.87.10
|
|
||||||
ports:
|
|
||||||
- name: plex-http
|
|
||||||
protocol: TCP
|
|
||||||
port: 32400
|
|
||||||
targetPort: 32400
|
|
||||||
selector:
|
|
||||||
app.kubernetes.io/instance: plex
|
|
||||||
app.kubernetes.io/name: plex
|
|
Loading…
Reference in New Issue