Allow specifying strategy for deployments

This commit is contained in:
Arlan Lloyd
2024-12-22 10:17:38 +00:00
parent 296305f8f6
commit 9b00782e10
7 changed files with 26 additions and 0 deletions
@@ -12,6 +12,9 @@ metadata:
{{- include "kyoo.labels" (dict "context" . "component" .Values.transcoder.name "name" .Values.transcoder.name) | nindent 4 }}
spec:
replicas: {{ .Values.transcoder.replicaCount }}
{{- with .Values.transcoder.updateStrategy }}
strategy: {{ . }}
{{- end }}
selector:
matchLabels:
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.transcoder.name) | nindent 6 }}