plex - pre-migration actions (#2081)

This commit is contained in:
Stavros Kois
2024-01-26 10:06:05 +02:00
committed by GitHub
parent cdf2f5e468
commit 1a0f817cc2
2 changed files with 16 additions and 3 deletions

View File

@@ -3,7 +3,7 @@ description: Plex Media Server
annotations:
title: Plex
type: application
version: 1.7.59
version: 1.7.60
apiVersion: v2
appVersion: 1.32.8.7639
kubeVersion: '>=1.16.0-0'

View File

@@ -1,6 +1,19 @@
{{ include "common.storage.hostPathValidate" .Values }}
{{ include "common.deployment.common_config" . | nindent 0 }}
spec: {{ include "common.deployment.common_spec" . | nindent 2 }}
apiVersion: {{ template "common.capabilities.deployment.apiVersion" . }}
kind: Deployment
metadata:
name: {{ template "common.names.fullname" . }}-plex
labels:
app.kubernetes.io/name: {{ template "common.names.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
spec:
replicas: {{ (default 1 .Values.replicas) }}
strategy:
type: Recreate
selector:
matchLabels:
app.kubernetes.io/name: {{ template "common.names.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
template: {{ include "common.deployment.pod.metadata" . | nindent 4 }}
spec:
hostNetwork: {{ .Values.hostNetwork }}