From d13ad20e34dc6e97f0ad3c7da103e16047cbd240 Mon Sep 17 00:00:00 2001 From: Valeriano Manassero <14011549+valeriano-manassero@users.noreply.github.com> Date: Fri, 27 Oct 2023 07:41:19 +0200 Subject: [PATCH] Fix serving extraenvs (#258) * Fixed: missing extraEnvs * Changed: bump version --- charts/clearml-serving/Chart.yaml | 6 ++---- charts/clearml-serving/README.md | 2 +- .../templates/clearml-serving-statistics-deployment.yaml | 3 +++ .../templates/clearml-serving-triton-deployment.yaml | 3 +++ 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/charts/clearml-serving/Chart.yaml b/charts/clearml-serving/Chart.yaml index 4139d30..12e6f2f 100644 --- a/charts/clearml-serving/Chart.yaml +++ b/charts/clearml-serving/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: clearml-serving description: ClearML Serving Helm Chart type: application -version: "1.5.0" +version: "1.5.1" appVersion: "1.3.0" kubeVersion: ">= 1.21.0-0 < 1.29.0-0" home: https://clear.ml @@ -33,7 +33,5 @@ dependencies: condition: grafana.enabled annotations: artifacthub.io/changes: | - - kind: added - description: external file mount - kind: fixed - description: missinf parameters application in deploymets from values file + description: missing extraEnvs diff --git a/charts/clearml-serving/README.md b/charts/clearml-serving/README.md index 4b685ea..d0eb2cc 100644 --- a/charts/clearml-serving/README.md +++ b/charts/clearml-serving/README.md @@ -1,6 +1,6 @@ # ClearML Kubernetes Serving -![Version: 1.5.0](https://img.shields.io/badge/Version-1.5.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.3.0](https://img.shields.io/badge/AppVersion-1.3.0-informational?style=flat-square) +![Version: 1.5.1](https://img.shields.io/badge/Version-1.5.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.3.0](https://img.shields.io/badge/AppVersion-1.3.0-informational?style=flat-square) ClearML Serving Helm Chart diff --git a/charts/clearml-serving/templates/clearml-serving-statistics-deployment.yaml b/charts/clearml-serving/templates/clearml-serving-statistics-deployment.yaml index b76963f..0dd1d49 100644 --- a/charts/clearml-serving/templates/clearml-serving-statistics-deployment.yaml +++ b/charts/clearml-serving/templates/clearml-serving-statistics-deployment.yaml @@ -67,6 +67,9 @@ spec: - name: CLEARML_EXTRA_PYTHON_PACKAGES value: '{{ join " " .Values.clearml_serving_statistics.extraPythonPackages }}' {{- end }} + {{- with .Values.clearml_serving_statistics.extraEnvironment }} + {{- toYaml . | nindent 12 }} + {{- end }} image: "{{ .Values.clearml_serving_statistics.image.repository }}:{{ .Values.clearml_serving_statistics.image.tag }}" name: {{ include "clearmlServing.fullname" . }}-statistics ports: diff --git a/charts/clearml-serving/templates/clearml-serving-triton-deployment.yaml b/charts/clearml-serving/templates/clearml-serving-triton-deployment.yaml index 9f502d6..c994e97 100644 --- a/charts/clearml-serving/templates/clearml-serving-triton-deployment.yaml +++ b/charts/clearml-serving/templates/clearml-serving-triton-deployment.yaml @@ -63,6 +63,9 @@ spec: - name: CLEARML_EXTRA_PYTHON_PACKAGES value: '{{ join " " .Values.clearml_serving_triton.extraPythonPackages }}' {{- end }} + {{- with .Values.clearml_serving_triton.extraEnvironment }} + {{- toYaml . | nindent 12 }} + {{- end }} image: "{{ .Values.clearml_serving_triton.image.repository }}:{{ .Values.clearml_serving_triton.image.tag }}" name: {{ include "clearmlServing.fullname" . }}-triton ports: