mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 12:14:46 -04:00
Allow specifying strategy for deployments
This commit is contained in:
parent
296305f8f6
commit
9b00782e10
@ -12,6 +12,9 @@ metadata:
|
|||||||
{{- include "kyoo.labels" (dict "context" . "component" .Values.autosync.name "name" .Values.autosync.name) | nindent 4 }}
|
{{- include "kyoo.labels" (dict "context" . "component" .Values.autosync.name "name" .Values.autosync.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.autosync.replicaCount }}
|
replicas: {{ .Values.autosync.replicaCount }}
|
||||||
|
{{- with .Values.autosync.updateStrategy }}
|
||||||
|
strategy: {{ . }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.autosync.name) | nindent 6 }}
|
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.autosync.name) | nindent 6 }}
|
||||||
|
@ -12,6 +12,9 @@ metadata:
|
|||||||
{{- include "kyoo.labels" (dict "context" . "component" .Values.back.name "name" .Values.back.name) | nindent 4 }}
|
{{- include "kyoo.labels" (dict "context" . "component" .Values.back.name "name" .Values.back.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.back.replicaCount }}
|
replicas: {{ .Values.back.replicaCount }}
|
||||||
|
{{- with .Values.back.updateStrategy }}
|
||||||
|
strategy: {{ . }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.back.name) | nindent 6 }}
|
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.back.name) | nindent 6 }}
|
||||||
|
@ -12,6 +12,9 @@ metadata:
|
|||||||
{{- include "kyoo.labels" (dict "context" . "component" .Values.front.name "name" .Values.front.name) | nindent 4 }}
|
{{- include "kyoo.labels" (dict "context" . "component" .Values.front.name "name" .Values.front.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.front.replicaCount }}
|
replicas: {{ .Values.front.replicaCount }}
|
||||||
|
{{- with .Values.front.updateStrategy }}
|
||||||
|
strategy: {{ . }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.front.name) | nindent 6 }}
|
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.front.name) | nindent 6 }}
|
||||||
|
@ -12,6 +12,9 @@ metadata:
|
|||||||
{{- include "kyoo.labels" (dict "context" . "component" .Values.matcher.name "name" .Values.matcher.name) | nindent 4 }}
|
{{- include "kyoo.labels" (dict "context" . "component" .Values.matcher.name "name" .Values.matcher.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.matcher.replicaCount }}
|
replicas: {{ .Values.matcher.replicaCount }}
|
||||||
|
{{- with .Values.matcher.updateStrategy }}
|
||||||
|
strategy: {{ . }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.matcher.name) | nindent 6 }}
|
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.matcher.name) | nindent 6 }}
|
||||||
|
@ -12,6 +12,9 @@ metadata:
|
|||||||
{{- include "kyoo.labels" (dict "context" . "component" .Values.scanner.name "name" .Values.scanner.name) | nindent 4 }}
|
{{- include "kyoo.labels" (dict "context" . "component" .Values.scanner.name "name" .Values.scanner.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.scanner.replicaCount }}
|
replicas: {{ .Values.scanner.replicaCount }}
|
||||||
|
{{- with .Values.scanner.updateStrategy }}
|
||||||
|
strategy: {{ . }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.scanner.name) | nindent 6 }}
|
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.scanner.name) | nindent 6 }}
|
||||||
|
@ -12,6 +12,9 @@ metadata:
|
|||||||
{{- include "kyoo.labels" (dict "context" . "component" .Values.transcoder.name "name" .Values.transcoder.name) | nindent 4 }}
|
{{- include "kyoo.labels" (dict "context" . "component" .Values.transcoder.name "name" .Values.transcoder.name) | nindent 4 }}
|
||||||
spec:
|
spec:
|
||||||
replicas: {{ .Values.transcoder.replicaCount }}
|
replicas: {{ .Values.transcoder.replicaCount }}
|
||||||
|
{{- with .Values.transcoder.updateStrategy }}
|
||||||
|
strategy: {{ . }}
|
||||||
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.transcoder.name) | nindent 6 }}
|
{{- include "kyoo.selectorLabels" (dict "context" . "name" .Values.transcoder.name) | nindent 6 }}
|
||||||
|
@ -179,6 +179,7 @@ autosync:
|
|||||||
repository: ~
|
repository: ~
|
||||||
tag: ~
|
tag: ~
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
updateStrategy: ~
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
deploymentAnnotations: {}
|
deploymentAnnotations: {}
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
@ -227,6 +228,8 @@ back:
|
|||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: back-storage
|
claimName: back-storage
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# default to recreate for better user experience with ReadWriteOnce volumes
|
||||||
|
updateStrategy: Recreate
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
deploymentAnnotations: {}
|
deploymentAnnotations: {}
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
@ -260,6 +263,7 @@ front:
|
|||||||
repository: ~
|
repository: ~
|
||||||
tag: ~
|
tag: ~
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
updateStrategy: ~
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
deploymentAnnotations: {}
|
deploymentAnnotations: {}
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
@ -298,6 +302,7 @@ matcher:
|
|||||||
tag: ~
|
tag: ~
|
||||||
# matcher does not support multiple replicas
|
# matcher does not support multiple replicas
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
updateStrategy: ~
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
deploymentAnnotations: {}
|
deploymentAnnotations: {}
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
@ -328,6 +333,7 @@ scanner:
|
|||||||
tag: ~
|
tag: ~
|
||||||
# scanner does not support multiple replicas
|
# scanner does not support multiple replicas
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
updateStrategy: ~
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
deploymentAnnotations: {}
|
deploymentAnnotations: {}
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
@ -368,6 +374,8 @@ transcoder:
|
|||||||
- name: cache
|
- name: cache
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
replicaCount: 1
|
replicaCount: 1
|
||||||
|
# default to recreate for better user experience with ReadWriteOnce volumes
|
||||||
|
updateStrategy: Recreate
|
||||||
podLabels: {}
|
podLabels: {}
|
||||||
deploymentAnnotations: {}
|
deploymentAnnotations: {}
|
||||||
podAnnotations: {}
|
podAnnotations: {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user