From 177a0c39b1147b0a2f61961d37e0d76276019761 Mon Sep 17 00:00:00 2001 From: Venkata Subbarao Chunduri Date: Fri, 10 May 2024 14:51:33 +0200 Subject: [PATCH] Use pod killer container resource settings for backward compatibility --- .../containers/_quobyte_csi_pod_killer_cache_container.tpl | 4 ++-- .../pods/containers/_quobyte_pod_mount_monitor_container.tpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/csi-driver-templates/templates/pods/containers/_quobyte_csi_pod_killer_cache_container.tpl b/csi-driver-templates/templates/pods/containers/_quobyte_csi_pod_killer_cache_container.tpl index 0a93458..370488a 100644 --- a/csi-driver-templates/templates/pods/containers/_quobyte_csi_pod_killer_cache_container.tpl +++ b/csi-driver-templates/templates/pods/containers/_quobyte_csi_pod_killer_cache_container.tpl @@ -1,9 +1,9 @@ {{- define "quobyte-csi-driver.podKiller.cacheContainer" }} - name: quobyte-csi-pod-killer-cache {{- if .Values.resources }} -{{- if .Values.resources.podKillerCache }} +{{- if .Values.resources.podKillerContainer }} resources: -{{ toYaml .Values.resources.podKillerCache | indent 4 }} +{{ toYaml .Values.resources.podKillerContainer | indent 4 }} {{- end }} {{- end }} image: {{ .Values.quobyte.dev.podKillerImage }} diff --git a/csi-driver-templates/templates/pods/containers/_quobyte_pod_mount_monitor_container.tpl b/csi-driver-templates/templates/pods/containers/_quobyte_pod_mount_monitor_container.tpl index 84a79a3..4a77caa 100644 --- a/csi-driver-templates/templates/pods/containers/_quobyte_pod_mount_monitor_container.tpl +++ b/csi-driver-templates/templates/pods/containers/_quobyte_pod_mount_monitor_container.tpl @@ -2,9 +2,9 @@ {{- if .Values.quobyte.podKiller.enable }} - name: quobyte-csi-mount-monitor {{- if .Values.resources }} -{{- if .Values.resources.podMountMonitor }} +{{- if .Values.resources.podKillerContainer }} resources: -{{ toYaml .Values.resources.podMountMonitor | indent 4 }} +{{ toYaml .Values.resources.podKillerContainer | indent 4 }} {{- end }} {{- end }} securityContext: