File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
charts/clusterplex/templates Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 88 imagePullPolicy : ' {{ .Values.global.plexImage.imagePullPolicy }}'
99
1010controller :
11- type : statefulset
11+ type : ' {{ .Values.worker.config.type | default " statefulset" }} '
1212 {{- if and .Values.worker.enabled (lt (.Values.worker.config.replicas | int) 1) }}
1313 {{- fail "Invalid value for worker.config.replicas. Must be greater than or equal to 1 when worker.enabled is true." }}
1414 {{- end }}
@@ -67,6 +67,9 @@ service:
6767 protocol : TCP
6868
6969persistence :
70+ codecs :
71+ {{- toYaml .Values.worker.codecVolumes | nindent 4 }}
72+ enabled : {{ and .Values.worker.codecVolumes.enabled (eq .Values.worker.config.type "deployment") }}
7073 transcode :
7174 {{- toYaml .Values.global.sharedStorage.transcode | nindent 4 }}
7275 accessMode : ReadWriteMany
@@ -160,4 +163,4 @@ probes:
160163{{- $_ := get .Values "worker" | mergeOverwrite $ctx.Values -}}
161164{{- $_ = include "clusterplex.worker.hardcodedValues" . | fromYaml | merge $ctx.Values -}}
162165{{- include "bjw-s.common.loader.all" $ctx }}
163- {{ end }}
166+ {{ end }}
You can’t perform that action at this time.
0 commit comments