fix strategy spec

This commit is contained in:
Arlan Lloyd 2024-12-22 22:02:31 +00:00
parent 9b00782e10
commit fbb0d7b581
2 changed files with 6 additions and 3 deletions

View File

@ -13,7 +13,8 @@ metadata:
spec: spec:
replicas: {{ .Values.transcoder.replicaCount }} replicas: {{ .Values.transcoder.replicaCount }}
{{- with .Values.transcoder.updateStrategy }} {{- with .Values.transcoder.updateStrategy }}
strategy: {{ . }} strategy:
{{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
selector: selector:
matchLabels: matchLabels:

View File

@ -229,7 +229,8 @@ back:
claimName: back-storage claimName: back-storage
replicaCount: 1 replicaCount: 1
# default to recreate for better user experience with ReadWriteOnce volumes # default to recreate for better user experience with ReadWriteOnce volumes
updateStrategy: Recreate updateStrategy:
type: Recreate
podLabels: {} podLabels: {}
deploymentAnnotations: {} deploymentAnnotations: {}
podAnnotations: {} podAnnotations: {}
@ -375,7 +376,8 @@ transcoder:
emptyDir: {} emptyDir: {}
replicaCount: 1 replicaCount: 1
# default to recreate for better user experience with ReadWriteOnce volumes # default to recreate for better user experience with ReadWriteOnce volumes
updateStrategy: Recreate updateStrategy:
type: Recreate
podLabels: {} podLabels: {}
deploymentAnnotations: {} deploymentAnnotations: {}
podAnnotations: {} podAnnotations: {}