@@ -145,7 +145,7 @@ spec:
145145 {{- end }}
146146 {{- end }}
147147 {{- end }}
148- {{- if and (ne .Values.license.enterprise.licenseType "DEMO") (eq .Values.license.enterprise.licenseValidation "ONLINE") }}
148+ {{- if and (ne (( .Values.license) .enterprise) .licenseType "DEMO") (eq (( .Values.license) .enterprise) .licenseValidation "ONLINE") }}
149149 {{- with .Values.license.enterprise.onlinePasswordSecretRef }}
150150 - name : LS_ENTERPRISE_LICENSE_{{ .key | upper | replace "-" "_" }}
151151 valueFrom :
@@ -210,7 +210,7 @@ spec:
210210 {{- /* END SCHEMA REGISTRY */ -}}
211211 {{- end }}
212212 {{- /* END OF DEFINITION OF ENV VARIABLES FOR THE KAFKA CONNECTOR */ -}}
213- {{- with .Values.deployment.extraEnvs }}
213+ {{- with .Values.deployment.extraEnv }}
214214 {{- toYaml . | nindent 12 }}
215215 {{- end }}
216216 volumeMounts :
@@ -219,7 +219,7 @@ spec:
219219 subPath : LS.sh
220220 - name : lightstreamer-configuration
221221 mountPath : /lightstreamer/conf
222- {{- if and (ne .Values.license.enterprise.licenseType "DEMO") (eq .Values.license.enterprise.licenseValidation "FILE") }}
222+ {{- if and (ne (( .Values.license) .enterprise) .licenseType "DEMO") (eq (( .Values.license) .enterprise) .licenseValidation "FILE") }}
223223 {{- with .Values.license.enterprise.filePathSecretRef }}
224224 - name : lightstreamer-enterprise-license
225225 mountPath : /lightstreamer/conf/enterprise-license/
@@ -250,6 +250,10 @@ spec:
250250 {{- with .Values.deployment.extraVolumeMounts }}
251251 {{- toYaml . | nindent 12 }}
252252 {{- end }}
253+ {{- with .Values.deployment.extraContainers }}
254+ {{- toYaml . | nindent 8 }}
255+ {{- end}}
256+
253257 {{- with .Values.deployment.hostname }}
254258 hostname : {{ . }}
255259 {{- end }}
@@ -259,6 +263,9 @@ spec:
259263 {{- with .Values.deployment.dnsPolicy }}
260264 dnsPolicy : {{ . }}
261265 {{- end }}
266+ {{- with .Values.deployment.priorityClassName }}
267+ priorityClassName : {{ . }}
268+ {{- end }}
262269 initContainers :
263270 - name : change-ownership
264271 image : busybox
@@ -269,7 +276,7 @@ spec:
269276 mountPath : /tmp
270277 - name : lightstreamer-start-script
271278 mountPath : /lightstreamer/bin/unix-like
272- {{- with .Values.deployment.initContainers }}
279+ {{- with .Values.deployment.extraInitContainers }}
273280 {{- toYaml . | nindent 8 }}
274281 {{- end }}
275282 {{- if ((.Values.connectors).kafkaConnector).enabled }}
@@ -305,7 +312,7 @@ spec:
305312 secretName : {{ required (printf "keystores.%s.keystoreFileSecretRef.name must be set" $key) (($value.keystoreFileSecretRef).name) }}
306313 {{- end }}
307314 {{- end }}
308- {{- if and (ne .Values.license.enterprise.licenseType "DEMO") (eq .Values.license.enterprise.licenseValidation "FILE") }}
315+ {{- if and (ne (( .Values.license) .enterprise) .licenseType "DEMO") (eq ( .Values.license) .enterprise.licenseValidation "FILE") }}
309316 {{- with required "license.enterprise.filePathSecretRef must be set" .Values.license.enterprise.filePathSecretRef }}
310317 - name : lightstreamer-enterprise-license
311318 secret :
0 commit comments