diff --git a/charts/plex-media-server/Chart.yaml b/charts/plex-media-server/Chart.yaml index 534b0595..aa5b5b5b 100644 --- a/charts/plex-media-server/Chart.yaml +++ b/charts/plex-media-server/Chart.yaml @@ -22,7 +22,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.7.1 +version: 1.8.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/plex-media-server/README.md b/charts/plex-media-server/README.md index ce31f429..8e34ba28 100644 --- a/charts/plex-media-server/README.md +++ b/charts/plex-media-server/README.md @@ -1,6 +1,6 @@ # plex-media-server -![Version: 1.7.1](https://img.shields.io/badge/Version-1.7.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.43.0](https://img.shields.io/badge/AppVersion-1.43.0-informational?style=flat-square) +![Version: 1.8.0](https://img.shields.io/badge/Version-1.8.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.43.0](https://img.shields.io/badge/AppVersion-1.43.0-informational?style=flat-square) **Homepage:** @@ -143,6 +143,7 @@ Before contributing, please read the [Code of Conduct](../../CODE_OF_CONDUCT.md) | pms.resources | object | `{}` | | | pms.securityContext | object | `{}` | Security context applied to the PMS *container*. Use this for container-level fields such as `privileged`, `capabilities`, `readOnlyRootFilesystem` and `allowPrivilegeEscalation`. | | pms.shareProcessNamespace | bool | `false` | Enable process namespace sharing within the pod. | +| pms.startupProbe | object | `{}` | Add a startup probe. This can be used to delay the liveness probe until PMS has finished DB migrations and prevent restarts. | | pms.storageClassName | string | `nil` | The storage class to use when provisioning the pms config volume this needs to be created manually, null will use the default | | priorityClassName | string | `""` | | | rclone | object | `{"additionalArgs":[],"configSecret":"","enabled":false,"image":{"pullPolicy":"IfNotPresent","registry":"index.docker.io","repository":"rclone/rclone","sha":"","tag":"1.75.0"},"readOnly":true,"remotes":[],"resources":{}}` | The settings specific to rclone | diff --git a/charts/plex-media-server/templates/statefulset.yaml b/charts/plex-media-server/templates/statefulset.yaml index a69acb8e..93f9e9b1 100644 --- a/charts/plex-media-server/templates/statefulset.yaml +++ b/charts/plex-media-server/templates/statefulset.yaml @@ -148,6 +148,10 @@ spec: - name: NVIDIA_DRIVER_CAPABILITIES value: {{ .Values.pms.gpu.nvidia.capabilities | default "compute,video,utility" | quote }} {{- end }} + {{- with .Values.pms.startupProbe }} + startupProbe: + {{- toYaml . | nindent 10 }} + {{- end }} {{- with .Values.pms.livenessProbe }} livenessProbe: {{- toYaml . | nindent 10 }} diff --git a/charts/plex-media-server/values.yaml b/charts/plex-media-server/values.yaml index 8d025d68..04e96986 100644 --- a/charts/plex-media-server/values.yaml +++ b/charts/plex-media-server/values.yaml @@ -123,6 +123,15 @@ pms: # -- Enable process namespace sharing within the pod. shareProcessNamespace: false + # -- Add a startup probe. This can be used to delay the liveness probe + # until PMS has finished DB migrations and prevent restarts. + startupProbe: {} + # httpGet: + # path: /identity + # port: 32400 + # periodSeconds: 10 + # failureThreshold: 180 + # -- Add kubernetes liveness probe to pms container. livenessProbe: {} # httpGet: