[plex] Migrate to common v3 (#963)

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-06-10 10:52:07 +02:00 committed by GitHub
parent 7b0276ffce
commit 0087a7806e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 108 additions and 106 deletions

View File

@ -1,8 +1,8 @@
apiVersion: v2 apiVersion: v2
appVersion: v1.22.0.4163-d8c4875dd appVersion: v1.23.2.4656-85f0adf5b
description: Plex Media Server description: Plex Media Server
name: plex name: plex
version: 4.4.0 version: 5.0.0
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
keywords: keywords:
- plex - plex
@ -18,4 +18,4 @@ maintainers:
dependencies: dependencies:
- name: common - name: common
repository: https://library-charts.k8s-at-home.com repository: https://library-charts.k8s-at-home.com
version: 2.5.0 version: 3.0.1

View File

@ -1,6 +1,6 @@
# plex # plex
![Version: 4.4.0](https://img.shields.io/badge/Version-4.4.0-informational?style=flat-square) ![AppVersion: v1.22.0.4163-d8c4875dd](https://img.shields.io/badge/AppVersion-v1.22.0.4163--d8c4875dd-informational?style=flat-square) ![Version: 5.0.0](https://img.shields.io/badge/Version-5.0.0-informational?style=flat-square) ![AppVersion: v1.23.2.4656-85f0adf5b](https://img.shields.io/badge/AppVersion-v1.23.2.4656--85f0adf5b-informational?style=flat-square)
Plex Media Server Plex Media Server
@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| Repository | Name | Version | | Repository | Name | Version |
|------------|------|---------| |------------|------|---------|
| https://library-charts.k8s-at-home.com | common | 2.5.0 | | https://library-charts.k8s-at-home.com | common | 3.0.1 |
## TL;DR ## TL;DR
@ -76,20 +76,17 @@ N/A
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
| env | object | `{}` | | | env | object | See below | environment variables. See [plex docs](https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/) for more details. **NOTE:** Plex preference options are camelCase and CASE SENSITIVE! You can do horrible things to your Plex configuration if you are not careful |
| env.TZ | string | `"UTC"` | Set the container timezone |
| hostNetwork | bool | `false` | Enable devices to be discoverable | | hostNetwork | bool | `false` | Enable devices to be discoverable |
| image.pullPolicy | string | `"IfNotPresent"` | | | image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"ghcr.io/k8s-at-home/plex"` | | | image.repository | string | `"ghcr.io/k8s-at-home/plex"` | image repository |
| image.tag | string | `"v1.22.0.4163-d8c4875dd"` | | | image.tag | string | `"v1.23.2.4656-85f0adf5b"` | image tag |
| ingress.enabled | bool | `false` | | | ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence.config.emptyDir.enabled | bool | `false` | | | persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| persistence.config.enabled | bool | `false` | | | podSecurityContext | object | `{}` | Configure the Security Context for the Pod |
| persistence.config.mountPath | string | `"/config"` | | | resources | object | `{}` | Configure the resource requests and/or limits for the Pod |
| persistence.transcode.emptyDir.enabled | bool | `false` | | | service | object | See values.yaml | Configures service settings for the chart. |
| persistence.transcode.enabled | bool | `false` | |
| persistence.transcode.mountPath | string | `"/transcode"` | |
| service.port.port | int | `32400` | |
| strategy.type | string | `"Recreate"` | |
## Changelog ## Changelog
@ -97,6 +94,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [5.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.1/charts/stable/common/) for the up-to-date values.
- Changed image tag to `v1.23.2.4656-85f0adf5b`.
### [3.0.0] ### [3.0.0]
#### Added #### Added
@ -117,8 +122,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A - N/A
[3.0.0]: #3.0.0 [5.0.0]: #500
[2.3.1]: #2.3.1 [3.0.0]: #300
[2.3.1]: #231
## Support ## Support

View File

@ -9,6 +9,14 @@ All notable changes to this application Helm chart will be documented in this fi
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
### [5.0.0]
#### Changed
- **BREAKING**: Upgraded the common library dependency to version 3.0.1. This introduces several breaking changes (`service`, `ingress` and `persistence` keys have been refactored).
Be sure to check out the [library chart](https://github.com/k8s-at-home/library-charts/blob/common-3.0.1/charts/stable/common/) for the up-to-date values.
- Changed image tag to `v1.23.2.4656-85f0adf5b`.
### [3.0.0] ### [3.0.0]
#### Added #### Added
@ -29,6 +37,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A - N/A
[3.0.0]: #3.0.0 [5.0.0]: #500
[2.3.1]: #2.3.1 [3.0.0]: #300
[2.3.1]: #231
{{- end -}} {{- end -}}

View File

@ -6,21 +6,23 @@
# #
image: image:
# -- image repository
repository: ghcr.io/k8s-at-home/plex repository: ghcr.io/k8s-at-home/plex
# -- image tag
tag: v1.23.2.4656-85f0adf5b
# -- image pull policy
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
tag: v1.22.0.4163-d8c4875dd
strategy: # -- environment variables. See [plex docs](https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/) for more details.
type: Recreate # **NOTE:** Plex preference options are camelCase and CASE SENSITIVE!
# You can do horrible things to your Plex configuration if you are not careful
env: {} # @default -- See below
# TZ: env:
# -- Set the container timezone
TZ: UTC
# ADVERTISE_IP: # ADVERTISE_IP:
# ALLOWED_NETWORKS: # ALLOWED_NETWORKS:
# PLEX_CLAIM: # PLEX_CLAIM:
# # NOTE: Plex preference options are camelCase and CASE SENSITIVE!
# # You can do horrible things to your Plex configuration if you are not careful
# # See a full list at https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/
# PLEX_PREFERENCE_1: "FriendlyName=plex-kubernetes" # PLEX_PREFERENCE_1: "FriendlyName=plex-kubernetes"
# PLEX_PREFERENCE_2: "EnableIPv6=0" # PLEX_PREFERENCE_2: "EnableIPv6=0"
# PLEX_PREFERENCE_3: "logDebug=0" # PLEX_PREFERENCE_3: "logDebug=0"
@ -30,95 +32,80 @@ env: {}
# PLEX_PREFERENCE_7: "TreatWanIpAsLocal=0" # PLEX_PREFERENCE_7: "TreatWanIpAsLocal=0"
# PLEX_PREFERENCE_8: "TranscoderH264BackgroundPreset=fast" # PLEX_PREFERENCE_8: "TranscoderH264BackgroundPreset=fast"
# -- Configures service settings for the chart.
# @default -- See values.yaml
service: service:
port: main:
primary: true
ports:
http:
port: 32400 port: 32400
# additionalServices: dnla-tcp:
# - enabled: true enabled: false
# nameSuffix: dnla-tcp type: NodePort
# type: NodePort ports:
# port: dnla-tcp:
# port: 32469 enabled: true
# name: dnla-tcp port: 32469
# protocol: TCP protocol: TCP
# targetPort: 32469 targetPort: 32469
# externalTrafficPolicy: Local externalTrafficPolicy: Local
# - enabled: true dnla-udp:
# nameSuffix: dnla-udp enabled: false
# type: NodePort type: NodePort
# port: ports:
# port: 1900 dnla-udp:
# name: dnla-udp enabled: true
# protocol: UDP port: 1900
# targetPort: 1900 protocol: TCP
# externalTrafficPolicy: Local targetPort: 1900
externalTrafficPolicy: Local
ingress: ingress:
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false enabled: false
# -- Enable devices to be discoverable # -- Enable devices to be discoverable
hostNetwork: false hostNetwork: false
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence: persistence:
config: config:
enabled: false enabled: false
emptyDir:
enabled: false
mountPath: /config mountPath: /config
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 1Gi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""
transcode: transcode:
enabled: false enabled: false
emptyDir:
enabled: false
mountPath: /transcode mountPath: /transcode
## Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
# storageClass: "-"
# accessMode: ReadWriteOnce
# size: 1Gi
## Do not delete the pvc upon helm uninstall
# skipuninstall: false
# existingClaim: ""
# podSecurityContext: # -- Configure the Security Context for the Pod
# runAsUser: 568 podSecurityContext: {}
# runAsGroup: 568 # runAsUser: 568
# fsGroup: 568 # runAsGroup: 568
# # Hardware acceleration using an Intel iGPU w/ QuickSync # fsGroup: 568
# # These IDs below should be matched to your `video` and `render` group on the host # # Hardware acceleration using an Intel iGPU w/ QuickSync
# # To obtain those IDs run the following grep statement on the host: # # These IDs below should be matched to your `video` and `render` group on the host
# # $ cat /etc/group | grep "video\|render" # # To obtain those IDs run the following grep statement on the host:
# # video:x:44: # # $ cat /etc/group | grep "video\|render"
# # render:x:109: # # video:x:44:
# supplementalGroups: # # render:x:109:
# - 44 # supplementalGroups:
# - 109 # - 44
# - 109
# resources: # -- Configure the resource requests and/or limits for the Pod
# requests: resources: {}
# # Hardware acceleration using an Intel iGPU w/ QuickSync and # requests:
# # using intel-gpu-plugin (https://github.com/intel/intel-device-plugins-for-kubernetes) # # Hardware acceleration using an Intel iGPU w/ QuickSync and
# gpu.intel.com/i915: 1 # # using intel-gpu-plugin (https://github.com/intel/intel-device-plugins-for-kubernetes)
# cpu: 200m # gpu.intel.com/i915: 1
# memory: 256Mi # cpu: 200m
# limits: # memory: 256Mi
# # Hardware acceleration using an Intel iGPU w/ QuickSync and # limits:
# # using intel-gpu-plugin (https://github.com/intel/intel-device-plugins-for-kubernetes) # # Hardware acceleration using an Intel iGPU w/ QuickSync and
# gpu.intel.com/i915: 1 # # using intel-gpu-plugin (https://github.com/intel/intel-device-plugins-for-kubernetes)
# memory: 4096Mi # gpu.intel.com/i915: 1
# memory: 4096Mi