From bc69854946d04967e90b30f4e5f50e8ec4e41d31 Mon Sep 17 00:00:00 2001 From: djpbessems Date: Thu, 1 Feb 2024 07:09:43 +0100 Subject: [PATCH] =?UTF-8?q?=C2=A8Housekeeping=C2=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/PVR/Plex/endpoints-plex.yaml.LEGACY | 11 - .../PVR/Plex/ingressroute-plex.yaml.LEGACY | 25 --- services/PVR/Plex/service-plex.yaml.LEGACY | 10 - services/PVR/Plex/values.yaml | 205 ------------------ 4 files changed, 251 deletions(-) delete mode 100644 services/PVR/Plex/endpoints-plex.yaml.LEGACY delete mode 100644 services/PVR/Plex/ingressroute-plex.yaml.LEGACY delete mode 100644 services/PVR/Plex/service-plex.yaml.LEGACY delete mode 100644 services/PVR/Plex/values.yaml diff --git a/services/PVR/Plex/endpoints-plex.yaml.LEGACY b/services/PVR/Plex/endpoints-plex.yaml.LEGACY deleted file mode 100644 index a2125c8..0000000 --- a/services/PVR/Plex/endpoints-plex.yaml.LEGACY +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: Endpoints -metadata: - name: plex - namespace: pvr -subsets: - - addresses: - - ip: 192.168.11.240 - ports: - - port: 32400 - name: web diff --git a/services/PVR/Plex/ingressroute-plex.yaml.LEGACY b/services/PVR/Plex/ingressroute-plex.yaml.LEGACY deleted file mode 100644 index ff92c34..0000000 --- a/services/PVR/Plex/ingressroute-plex.yaml.LEGACY +++ /dev/null @@ -1,25 +0,0 @@ -apiVersion: traefik.containo.us/v1alpha1 -kind: IngressRoute -metadata: - name: plex - namespace: pvr -spec: - entryPoints: - - websecure - routes: - - match: Host(`media.pvr.spamasaurus.com`) - kind: Rule - services: - - name: plex - port: 32400 - middlewares: - - name: security-headers@file - - name: compression@file - tls: - options: - name: defaults@file - certResolver: default - domains: - - main: '*.pvr.spamasaurus.com' - sans: - - 'pvr.spamasaurus.com' diff --git a/services/PVR/Plex/service-plex.yaml.LEGACY b/services/PVR/Plex/service-plex.yaml.LEGACY deleted file mode 100644 index 7d823ef..0000000 --- a/services/PVR/Plex/service-plex.yaml.LEGACY +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: plex - namespace: pvr -spec: - ports: - - protocol: TCP - name: web - port: 32400 diff --git a/services/PVR/Plex/values.yaml b/services/PVR/Plex/values.yaml deleted file mode 100644 index 8dfe18e..0000000 --- a/services/PVR/Plex/values.yaml +++ /dev/null @@ -1,205 +0,0 @@ -# The docker image information for the pms application -image: - registry: index.docker.io - repository: plexinc/pms-docker - # If unset use "latest" - tag: "latest" - sha: "" - pullPolicy: IfNotPresent - -global: - # Allow parent charts to override registry hostname - imageRegistry: "" - -ingress: - # Specify if an ingress resource for the pms server should be created or not - enabled: false - - # The ingress class that should be used - ingressClassName: "ingress-nginx" - - # The url to use for the ingress reverse proxy to point at this pms instance - url: "" - - # Custom annotations to put on the ingress resource - annotations: {} - -pms: - # The storage class to use when provisioning the pms config volume - # this needs to be created manually, null will use the default - storageClassName: null - - # the volume size to provision for the PMS database - configStorage: 2Gi - - resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -# A basic image that will convert the configmap to a file in the rclone config volume -# this is ignored if rclone is not enabled -initContainer: - image: - registry: index.docker.io - repository: alpine - # If unset use latest - tag: 3.18.0 - sha: "" - pullPolicy: IfNotPresent - - # A custom script that will be run in an init container to do any setup before the PMS service starts up - # This will be run everytime the pod starts, make sure that some mechanism is included to prevent - # this from running more than once if it should only be run on the first startup. - script: "" - ### - ### Example init script that will import a pre-existing pms database if one has not already been setup - ### This pms database must be available through a URL (or some other mechanism to be pulled into the container) - # script: |- - # #!/bin/sh - # echo "fetching pre-existing pms database to import..." - # - # if [ -d "/config/Library" ]; then - # echo "PMS library already exists, exiting." - # exit 0 - # fi - # - # apk --update add curl - # curl http://example.com/pms.tgz -o pms.tgz - # tar -xvzf pms.tgz -C /config - # cp -r /config/data/Library /config/Library - # rm -rf /config/data pms.tgz - # - # echo "Done." - -# the settings specific to rclone -rclone: - # if the rclone sidecar should be created - enabled: false - - # the rclone image that should be used - image: - registry: index.docker.io - repository: rclone/rclone - # If unset use latest - tag: 1.62.2 - sha: "" - pullPolicy: IfNotPresent - - # The name of the secret that contains the rclone configuration file. - # The key must be called `rclone.conf` in the secret - configSecret: "" - - - # the remote drive that should be mounted using rclone - # this must be in the form of `name:[/optional/path]` - # this remote will be mounted at `/data/name` in the PMS container - remotes: [] - - # if the remote volumes should be mounted as read only - readOnly: true - - # additional arguments to give to rclone when mounting the volume - additionalArgs: [] - - resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - -imagePullSecrets: [] -nameOverride: "" -fullnameOverride: "" - -serviceAccount: - # Specifies whether a service account should be created - create: true - # If the service account token should be auto mounted - automountServiceAccountToken: false - # Annotations to add to the service account - annotations: {} - # The name of the service account to use. - # If not set and create is true, a name is generated using the fullname template - name: "" - -statefulSet: - # optional extra annotations to add to the service resource - annotations: {} - -service: - type: ClusterIP - port: 32400 - - # optional extra annotations to add to the service resource - annotations: {} - - -nodeSelector: {} - -tolerations: [] - -affinity: {} - -priorityClassName: "" - -# Common Labels for all resources created by this chart. -commonLabels: {} - -extraEnv: {} -# extraEnv: - # This claim is optional, and is only used for the first startup of PMS - # The claim is obtained from https://www.plex.tv/claim/ is is only valid for a few minutes -# PLEX_CLAIM: "claim" -# HOSTNAME: "PlexServer" -# TZ: "Etc/UTC" -# PLEX_UPDATE_CHANNEL: "5" -# PLEX_UID: "uid of plex user" -# PLEX_GID: "group id of plex user" - # a list of CIDRs that can use the server without authentication - # this is only used for the first startup of PMS -# ALLOWED_NETWORKS: "0.0.0.0/0" - - -# Optionally specify additional volume mounts for the PMS and init containers. -extraVolumeMounts: [] -# extraVolumeMounts: -# - name: some-volume-name -# mountPath: /path/in/container - - -# Optionally specify additional volumes for the pod. -extraVolumes: [] -# extraVolumes: -# - name: some-volume-name -# emptyDir: {} - -extraContainers: [] -# extraContainers: -# - name: -# args: -# - ... -# image: -# imagePullPolicy: IfNotPresent -# resources: -# limits: -# memory: 128Mi -# requests: -# cpu: 100m -# memory: 128Mi -# volumeMounts: -# - ... -