From b276f6a8a472e77724b98b66c2d8fd123d76f990 Mon Sep 17 00:00:00 2001 From: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Date: Tue, 5 Mar 2024 12:04:55 +0200 Subject: [PATCH] fix ix-chart resources (#2253) --- library/ix-dev/charts/ix-chart/Chart.yaml | 2 +- .../ix-dev/charts/ix-chart/templates/_containers.tpl | 11 ----------- .../ix-dev/charts/ix-chart/templates/_workload.tpl | 1 - 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/library/ix-dev/charts/ix-chart/Chart.yaml b/library/ix-dev/charts/ix-chart/Chart.yaml index dece076889..21fa6d92ff 100644 --- a/library/ix-dev/charts/ix-chart/Chart.yaml +++ b/library/ix-dev/charts/ix-chart/Chart.yaml @@ -3,7 +3,7 @@ description: A Helm chart for deploying simple workloads Kubernetes annotations: title: ix-chart type: application -version: 2308.0.1 +version: 2403.0.0 apiVersion: v2 appVersion: v1 kubeVersion: ">=1.16.0-0" diff --git a/library/ix-dev/charts/ix-chart/templates/_containers.tpl b/library/ix-dev/charts/ix-chart/templates/_containers.tpl index e07bb9160c..d8df0f6519 100644 --- a/library/ix-dev/charts/ix-chart/templates/_containers.tpl +++ b/library/ix-dev/charts/ix-chart/templates/_containers.tpl @@ -64,14 +64,3 @@ ports: {{- end }} {{- end }} {{- end }} - -{{/* -Container Resource Configuration -*/}} -{{- define "containerResourceConfiguration" }} -{{- if .Values.gpuConfiguration }} -resources: - limits: - {{- toYaml .Values.gpuConfiguration | nindent 4 }} -{{- end }} -{{- end }} diff --git a/library/ix-dev/charts/ix-chart/templates/_workload.tpl b/library/ix-dev/charts/ix-chart/templates/_workload.tpl index 83fefb7814..73f9ff8708 100644 --- a/library/ix-dev/charts/ix-chart/templates/_workload.tpl +++ b/library/ix-dev/charts/ix-chart/templates/_workload.tpl @@ -111,7 +111,6 @@ containers: {{- include "containerEnvVariables" . | indent 2 }} {{- include "containerLivenssProbe" . | indent 2 }} {{- include "containerPorts" . | indent 2 }} - {{- include "containerResourceConfiguration" . | indent 2 }} {{- include "volumeConfiguration" . }} {{- include "dnsConfiguration" . }} {{- end }}