From aa080ee79a3af910b13a13319ff70afc90957364 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Tue, 23 Jan 2024 13:02:10 +0200 Subject: [PATCH] pre-mig actions (#2068) --- library/ix-dev/charts/emby/Chart.yaml | 2 +- .../charts/emby/templates/deployment.yaml | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/library/ix-dev/charts/emby/Chart.yaml b/library/ix-dev/charts/emby/Chart.yaml index 54410d5e33..cb0b2d324d 100644 --- a/library/ix-dev/charts/emby/Chart.yaml +++ b/library/ix-dev/charts/emby/Chart.yaml @@ -3,7 +3,7 @@ description: Emby Server annotations: title: Emby Server type: application -version: 1.0.29 +version: 1.0.30 apiVersion: v2 appVersion: 4.7.14.0 kubeVersion: '>=1.16.0-0' diff --git a/library/ix-dev/charts/emby/templates/deployment.yaml b/library/ix-dev/charts/emby/templates/deployment.yaml index 831f47c036..e03780890f 100644 --- a/library/ix-dev/charts/emby/templates/deployment.yaml +++ b/library/ix-dev/charts/emby/templates/deployment.yaml @@ -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" . }}-emby + 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: {{- if .Values.hostNetwork }}