From b1fb68db5e8c33d51b7030d991d797717345570c Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Wed, 1 May 2024 19:14:24 -0400 Subject: [PATCH] Remove plex for now --- plex/plex-deployment.yaml | 95 --------------------------------------- plex/plex-pv-media.yaml | 20 --------- plex/plex-pvc-config.yaml | 12 ----- plex/plex-pvc-media.yaml | 13 ------ plex/plex-service.yaml | 18 -------- plex/sealed-secret.yaml | 15 ------- 6 files changed, 173 deletions(-) delete mode 100644 plex/plex-deployment.yaml delete mode 100644 plex/plex-pv-media.yaml delete mode 100644 plex/plex-pvc-config.yaml delete mode 100644 plex/plex-pvc-media.yaml delete mode 100644 plex/plex-service.yaml delete mode 100644 plex/sealed-secret.yaml diff --git a/plex/plex-deployment.yaml b/plex/plex-deployment.yaml deleted file mode 100644 index 1016031..0000000 --- a/plex/plex-deployment.yaml +++ /dev/null @@ -1,95 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: plex - namespace: plex-ns - annotations: - force-recreate: true -spec: - replicas: 1 - selector: - matchLabels: - app: plex - template: - metadata: - labels: - app: plex - spec: - nodeSelector: - kubernetes.io/hostname: gluttony - containers: - - name: plex - image: plexinc/pms-docker:public - env: - - name: TZ - value: EST - - name: PLEX_UID - value: "1000" - - name: PLEX_GID - value: "1000" - ports: - - containerPort: 32400 - - containerPort: 8234 - - containerPort: 32469 - - containerPort: 1900 - - containerPort: 32410 - - containerPort: 32412 - - containerPort: 32413 - - containerPort: 32414 - volumeMounts: - - name: plex-config - mountPath: /config - - name: plex-media - mountPath: /data - - # Sidecar providing access to upload/view/download raw media files - - name: filebrowswer - image: git.clortox.com/infrastructure/filebrowser:v1.0.1 - env: - - name: ADMIN_PASS - valueFrom: - secretKeyRef: - name: filebrowser-secret - key: ADMIN-PASS - - name: DEFAULT_USERNAME - value: "default" - - name: DEFAULT_PASSWORD - valueFrom: - secretKeyRef: - name: filebrowser-secret - key: DEFAULT-PASS - - name: BRANDING_NAME - value: "Media Storage" - - name: AUTH_METHOD - value: "proxy" - - name: AUTH_HEADER - value: "X-Auth-User" - - name: PERM_ADMIN - value: "false" - - name: PERM_EXECUTE - value: "false" - - name: PERM_CREATE - value: "true" - - name: PERM_RENAME - value: "true" - - name: PERM_MODIFY - value: "true" - - name: PERM_DELETE - value: "false" - - name: PERM_SHARE - value: "true" - - name: PERM_DOWNLOAD - value: "true" - volumeMounts: - - name: plex-media - mountPath: /srv - ports: - - containerPort: 80 - - volumes: - - name: plex-config - persistentVolumeClaim: - claimName: plex-pvc-config - - name: plex-media - persistentVolumeClaim: - claimName: plex-pvc-media diff --git a/plex/plex-pv-media.yaml b/plex/plex-pv-media.yaml deleted file mode 100644 index 90e9d38..0000000 --- a/plex/plex-pv-media.yaml +++ /dev/null @@ -1,20 +0,0 @@ -apiVersion: v1 -kind: PersistentVolume -metadata: - name: plex-pv-media -spec: - storageClassName: local-storage - capacity: - storage: 18000Gi - accessModes: - - ReadWriteMany - hostPath: - path: "/Main/Media" - nodeAffinity: - required: - nodeSelectorTerms: - - matchExpressions: - - key: kubernetes.io/hostname - operator: In - values: - - gluttony diff --git a/plex/plex-pvc-config.yaml b/plex/plex-pvc-config.yaml deleted file mode 100644 index c010d33..0000000 --- a/plex/plex-pvc-config.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: plex-pvc-config - namespace: plex-ns -spec: - storageClassName: longhorn - accessModes: - - ReadWriteMany - resources: - requests: - storage: 200Gi diff --git a/plex/plex-pvc-media.yaml b/plex/plex-pvc-media.yaml deleted file mode 100644 index c5f9816..0000000 --- a/plex/plex-pvc-media.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: plex-pvc-media - namespace: plex-ns -spec: - volumeName: plex-pv-media - storageClassName: local-storage - accessModes: - - ReadWriteMany - resources: - requests: - storage: 18000Gi diff --git a/plex/plex-service.yaml b/plex/plex-service.yaml deleted file mode 100644 index e999ada..0000000 --- a/plex/plex-service.yaml +++ /dev/null @@ -1,18 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: plex-service - namespace: plex-ns -spec: - selector: - app: plex - type: LoadBalancer - ports: - - name: plex - protocol: TCP - port: 32400 - targetPort: 32400 - - name: filebrowswer - protocol: TCP - port: 80 - targetPort: 80 diff --git a/plex/sealed-secret.yaml b/plex/sealed-secret.yaml deleted file mode 100644 index d35c7b0..0000000 --- a/plex/sealed-secret.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: bitnami.com/v1alpha1 -kind: SealedSecret -metadata: - creationTimestamp: null - name: filebrowser-secret - namespace: plex-ns -spec: - encryptedData: - ADMIN-PASS: AgAj7jrppKzPFfnYDV+FEuXQx9lrkppWFElR3DjtR017tpBQs6/KjZYU1TX81TkNh8cONg4mGB72zvk60Yft5b5TSgZWuKA4qTXYEoFusyMR3wyOU/Ft7ZMk7IAr/7Hi9dDAh3CkmrQ2lQ3C5hRlfTljaSxqC9abmEZIeSo7OhrkX8YIvFhanBMbPenfkulSsK38dp3PfIC8kntRV1u37Z7CxovVu+Kn7IoRC4sKa3gcdJ5lIA/Aq3rln8atmzZcPGPzjIAPY4P72mjPaeIvzqzLsNMcecIIr20MyLTOG/eI8WrM+WC+dgyvj/Pjq/hzTW1QD3z4jZW224o4ghKiPr6mW0BbN6KBBqv/JFtpBqiYgGi/ADBVxTG7YUA+FcT7YA6nuxlqg+TMpwqP8ZJBmghosBeqmBndjKUjpexoihmy+XTDbEr7e8RDpOdL9jS9hGPt47cmFITSFSEQIGM6kOtdYWcMw6+aKkTt5Ul4bUfV9TXultGyNYITibATXWNqbRfZDjYVrWOIfoVJOe19N3WZg9R4UeKzow3RkoJvn3MUTYOOrzr9Csx+VxUMeGxLPFftedUIy8zzXaqL/0OFogQZ2P+mesiYxc67Z4VS2u0+iCLkJdUDYnM+2q6TRQMI2nP40ko62xDuSE2BDcufqsKfHoddswlYDyelLVqJKee+P3sUoxcblYlv6kqz1GbVhBKQrHzFphx72KG219N9zwjOI6w8V6NXHUEFblQ3gt9RPA== - DEFAULT-PASS: AgDXxxyMBUb7Q0J8LvxPXNEAz75c1JcS7xL3rN7E2Wg7MLsZHj2/0hRf9jaCCyyVnr/Pabbdmjb0nth4Dlm50tLWH+rU7KtLPwHB0pMVi9zSxKBdyvOJurVdY/nlbSuanxSL37rBOrwRQRv6t8w/IIs4R9GEaFjxKoIJTuV8JRu3r62FiL/3o2zyok9UYcLxw2h9H7B9yn9wXn5CAFk0M4jNRUns3oU7d0/hPbfwC216vU0ZIdga8yYlZw3zvVz54mX2XECnHWZT8gPK1w6v8AEca/kDFuVFBi63OdXFgjBHCa/uSs5wifzNPBzcRA+A8s/JgoSHEeMXTmBsMOlihSSz0kSGHS/rUdu6nZamVZfzCWOHskb3RVjs23yNJsSEDlYR/AMeAjnkMDvMe5b/X/eV1AOYkAQ/pACrSk2aG+4kLmLoLYXaeDVf8pTHj4yOvdffWk39ClCqIOyWF2+//N02lDepVwis498cL+7I4kEVXqy9FugUCsbtzxVXX6OHym4KpBZpAmrMqH83rC6CtU4orF6gjmTKCe1Ufq5GmsQgFFZTZYTexnbeTKXz6yw+RbHLTGdsaJnMaAQx5uB3khO9Pkge7/HLDmXEx+mtaaTvk7AF8PWjFJSQZEWxVSCr6O1Zd4LKsg0EP6Mrk+s+8OOfGb42e3wfJ6gY7KlTBBu8KmKnHRQl9uoMVO7y5PWwl+B3Wam5j78ggV4L9UmiEw6gYvrc8rmQWZqQbuw7pClQ3Q== - template: - metadata: - creationTimestamp: null - name: filebrowser-secret - namespace: plex-ns