diff --git a/global/k8s-common/Chart.yaml b/global/k8s-common/Chart.yaml index 22c8101..6a7ac87 100644 --- a/global/k8s-common/Chart.yaml +++ b/global/k8s-common/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: k8s-common -version: 1.8.0 +version: 1.8.1 description: A Library Helm Chart for grouping common logic between charts. This chart is not deployable by itself. type: library keywords: diff --git a/global/k8s-common/templates/_containers.tpl b/global/k8s-common/templates/_containers.tpl index 464b23d..102c2ef 100644 --- a/global/k8s-common/templates/_containers.tpl +++ b/global/k8s-common/templates/_containers.tpl @@ -110,7 +110,7 @@ Return generated container configuration. {{- end }} {{- if .Values.resources }} resources: {{- toYaml .Values.resources | trim | nindent 4 }} - {{- else if ne .Values.resourcesPreset "none" }} + {{- else if .Values.resourcesPreset }} resources: {{- include "k8s-common.resources.preset" (dict "type" .Values.resourcesPreset) | nindent 4 }} {{- end }} {{- if .Values.securityContext }}