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

View File

@ -1,6 +1,6 @@
# 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
@ -19,7 +19,7 @@ Kubernetes: `>=1.16.0-0`
| 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
@ -76,20 +76,17 @@ N/A
| 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 |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/k8s-at-home/plex"` | |
| image.tag | string | `"v1.22.0.4163-d8c4875dd"` | |
| ingress.enabled | bool | `false` | |
| persistence.config.emptyDir.enabled | bool | `false` | |
| persistence.config.enabled | bool | `false` | |
| persistence.config.mountPath | string | `"/config"` | |
| persistence.transcode.emptyDir.enabled | bool | `false` | |
| persistence.transcode.enabled | bool | `false` | |
| persistence.transcode.mountPath | string | `"/transcode"` | |
| service.port.port | int | `32400` | |
| strategy.type | string | `"Recreate"` | |
| image.pullPolicy | string | `"IfNotPresent"` | image pull policy |
| image.repository | string | `"ghcr.io/k8s-at-home/plex"` | image repository |
| image.tag | string | `"v1.23.2.4656-85f0adf5b"` | image tag |
| ingress.main | object | See values.yaml | Enable and configure ingress settings for the chart under this key. |
| persistence | object | See values.yaml | Configure persistence settings for the chart under this key. |
| podSecurityContext | object | `{}` | Configure the Security Context for the Pod |
| resources | object | `{}` | Configure the resource requests and/or limits for the Pod |
| service | object | See values.yaml | Configures service settings for the chart. |
## 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).
### [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]
#### Added
@ -117,8 +122,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[3.0.0]: #3.0.0
[2.3.1]: #2.3.1
[5.0.0]: #500
[3.0.0]: #300
[2.3.1]: #231
## 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).
### [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]
#### Added
@ -29,6 +37,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- N/A
[3.0.0]: #3.0.0
[2.3.1]: #2.3.1
[5.0.0]: #500
[3.0.0]: #300
[2.3.1]: #231
{{- end -}}

View File

@ -6,21 +6,23 @@
#
image:
# -- image repository
repository: ghcr.io/k8s-at-home/plex
# -- image tag
tag: v1.23.2.4656-85f0adf5b
# -- image pull policy
pullPolicy: IfNotPresent
tag: v1.22.0.4163-d8c4875dd
strategy:
type: Recreate
env: {}
# TZ:
# -- 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
# @default -- See below
env:
# -- Set the container timezone
TZ: UTC
# ADVERTISE_IP:
# ALLOWED_NETWORKS:
# 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_2: "EnableIPv6=0"
# PLEX_PREFERENCE_3: "logDebug=0"
@ -30,73 +32,57 @@ env: {}
# PLEX_PREFERENCE_7: "TreatWanIpAsLocal=0"
# PLEX_PREFERENCE_8: "TranscoderH264BackgroundPreset=fast"
# -- Configures service settings for the chart.
# @default -- See values.yaml
service:
port:
main:
primary: true
ports:
http:
port: 32400
# additionalServices:
# - enabled: true
# nameSuffix: dnla-tcp
# type: NodePort
# port:
# port: 32469
# name: dnla-tcp
# protocol: TCP
# targetPort: 32469
# externalTrafficPolicy: Local
# - enabled: true
# nameSuffix: dnla-udp
# type: NodePort
# port:
# port: 1900
# name: dnla-udp
# protocol: UDP
# targetPort: 1900
# externalTrafficPolicy: Local
dnla-tcp:
enabled: false
type: NodePort
ports:
dnla-tcp:
enabled: true
port: 32469
protocol: TCP
targetPort: 32469
externalTrafficPolicy: Local
dnla-udp:
enabled: false
type: NodePort
ports:
dnla-udp:
enabled: true
port: 1900
protocol: TCP
targetPort: 1900
externalTrafficPolicy: Local
ingress:
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main:
enabled: false
# -- Enable devices to be discoverable
hostNetwork: false
# -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence:
config:
enabled: false
emptyDir:
enabled: false
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:
enabled: false
emptyDir:
enabled: false
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
podSecurityContext: {}
# runAsUser: 568
# runAsGroup: 568
# fsGroup: 568
@ -110,7 +96,8 @@ persistence:
# - 44
# - 109
# resources:
# -- Configure the resource requests and/or limits for the Pod
resources: {}
# requests:
# # Hardware acceleration using an Intel iGPU w/ QuickSync and
# # using intel-gpu-plugin (https://github.com/intel/intel-device-plugins-for-kubernetes)