From 68dc080dfc87ac663f5d62d74f02e54c5b1bb143 Mon Sep 17 00:00:00 2001 From: Serge Tkatchouk Date: Tue, 11 Apr 2023 00:43:35 +0300 Subject: [PATCH] Move the Jibri deployment strategy knob "up" the spec --- templates/jibri/deployment.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/templates/jibri/deployment.yaml b/templates/jibri/deployment.yaml index fde0a1d..8a731a2 100644 --- a/templates/jibri/deployment.yaml +++ b/templates/jibri/deployment.yaml @@ -11,6 +11,9 @@ metadata: {{- end }} spec: replicas: {{ .Values.jibri.replicaCount | default 1 }} + {{- if .Values.jibri.strategy }} + strategy: {{- toYaml .Values.jibri.strategy | nindent 4 }} + {{- end }} selector: matchLabels: {{- include "jitsi-meet.jibri.selectorLabels" . | nindent 6 }} @@ -101,9 +104,4 @@ spec: sizeLimit: {{ .Values.jibri.shm.size | default "256Mi" | quote }} {{- end }} {{- end }} - - {{- if .Values.jibri.strategy }} - strategy: - {{ toYaml .Values.jibri.strategy | nindent 4 }} - {{- end }} {{- end }}