Skip to content

Commit

Permalink
Move the Jibri deployment strategy knob "up" the spec
Browse files Browse the repository at this point in the history
  • Loading branch information
spijet committed Apr 10, 2023
1 parent e3ad3c6 commit 68dc080
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions templates/jibri/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}

0 comments on commit 68dc080

Please sign in to comment.