Merge branch 'master' into addPVCs

This commit is contained in:
acelinkio 2024-12-22 15:47:01 -08:00 committed by GitHub
commit ae5c41c35b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 34 additions and 0 deletions

View File

@ -12,6 +12,10 @@ 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:
{{- toYaml . | nindent 4 }}
{{- 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 }}

View File

@ -12,6 +12,10 @@ 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:
{{- toYaml . | nindent 4 }}
{{- 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 }}

View File

@ -12,6 +12,10 @@ 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:
{{- toYaml . | nindent 4 }}
{{- 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 }}

View File

@ -12,6 +12,10 @@ 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:
{{- toYaml . | nindent 4 }}
{{- 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 }}

View File

@ -12,6 +12,10 @@ 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:
{{- toYaml . | nindent 4 }}
{{- 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 }}

View File

@ -12,6 +12,10 @@ 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:
{{- toYaml . | nindent 4 }}
{{- 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 }}

View File

@ -180,6 +180,7 @@ autosync:
repository: ~ repository: ~
tag: ~ tag: ~
replicaCount: 1 replicaCount: 1
updateStrategy: ~
podLabels: {} podLabels: {}
deploymentAnnotations: {} deploymentAnnotations: {}
podAnnotations: {} podAnnotations: {}
@ -223,6 +224,9 @@ back:
volumeMounts: [] volumeMounts: []
volumes: [] volumes: []
replicaCount: 1 replicaCount: 1
# default to recreate for better user experience with ReadWriteOnce volumes
updateStrategy:
type: Recreate
podLabels: {} podLabels: {}
deploymentAnnotations: {} deploymentAnnotations: {}
podAnnotations: {} podAnnotations: {}
@ -266,6 +270,7 @@ front:
repository: ~ repository: ~
tag: ~ tag: ~
replicaCount: 1 replicaCount: 1
updateStrategy: ~
podLabels: {} podLabels: {}
deploymentAnnotations: {} deploymentAnnotations: {}
podAnnotations: {} podAnnotations: {}
@ -304,6 +309,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: {}
@ -334,6 +340,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: {}
@ -369,6 +376,9 @@ transcoder:
- name: cache - name: cache
emptyDir: {} emptyDir: {}
replicaCount: 1 replicaCount: 1
# default to recreate for better user experience with ReadWriteOnce volumes
updateStrategy:
type: Recreate
podLabels: {} podLabels: {}
deploymentAnnotations: {} deploymentAnnotations: {}
podAnnotations: {} podAnnotations: {}