From 870338ebffd07d17b7d1cfd77166cee2e74dae8a Mon Sep 17 00:00:00 2001 From: Valeriano Manassero <14011549+valeriano-manassero@users.noreply.github.com> Date: Fri, 24 Mar 2023 08:14:52 +0100 Subject: [PATCH] 195 missing initcontainers section in agentk8sglue configmapyaml (#196) * Added: init-container * Changed: bump up version --- charts/clearml-agent/Chart.yaml | 4 ++-- charts/clearml-agent/README.md | 2 +- charts/clearml-agent/templates/agentk8sglue-configmap.yaml | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/charts/clearml-agent/Chart.yaml b/charts/clearml-agent/Chart.yaml index c2e9dca..363f414 100644 --- a/charts/clearml-agent/Chart.yaml +++ b/charts/clearml-agent/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: clearml-agent description: MLOps platform Task running agent type: application -version: "4.0.3" +version: "4.0.4" appVersion: "1.24" kubeVersion: ">= 1.21.0-0 < 1.27.0-0" home: https://clear.ml @@ -21,4 +21,4 @@ keywords: annotations: artifacthub.io/changes: | - kind: fixed - description: wrong selector for agent + description: missing init-container in template diff --git a/charts/clearml-agent/README.md b/charts/clearml-agent/README.md index bd83303..9d8f77c 100644 --- a/charts/clearml-agent/README.md +++ b/charts/clearml-agent/README.md @@ -1,6 +1,6 @@ # ClearML Kubernetes Agent -![Version: 4.0.3](https://img.shields.io/badge/Version-4.0.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.24](https://img.shields.io/badge/AppVersion-1.24-informational?style=flat-square) +![Version: 4.0.4](https://img.shields.io/badge/Version-4.0.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.24](https://img.shields.io/badge/AppVersion-1.24-informational?style=flat-square) MLOps platform Task running agent diff --git a/charts/clearml-agent/templates/agentk8sglue-configmap.yaml b/charts/clearml-agent/templates/agentk8sglue-configmap.yaml index abf140b..af3d389 100644 --- a/charts/clearml-agent/templates/agentk8sglue-configmap.yaml +++ b/charts/clearml-agent/templates/agentk8sglue-configmap.yaml @@ -45,6 +45,8 @@ data: securityContext: {{ toYaml .Values.agentk8sglue.basePodTemplate.podSecurityContext | nindent 8 }} priorityClassName: {{ .Values.agentk8sglue.basePodTemplate.priorityClassName }} + initContainers: + {{- toYaml .Values.agentk8sglue.basePodTemplate.initContainers | nindent 8 }} containers: - resources: {{- toYaml .Values.agentk8sglue.basePodTemplate.resources | nindent 10 }}