From 6300826394f8f40dcb109ee2eb9222e5eee8a203 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Wed, 24 Mar 2021 12:21:03 +0100 Subject: [PATCH] Fix resources location --- charts/kubezero-aws-efs-csi-driver/affinity_resources.patch | 6 +++--- .../charts/aws-efs-csi-driver/templates/node-daemonset.yaml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/kubezero-aws-efs-csi-driver/affinity_resources.patch b/charts/kubezero-aws-efs-csi-driver/affinity_resources.patch index 6623d92c..55c1274c 100644 --- a/charts/kubezero-aws-efs-csi-driver/affinity_resources.patch +++ b/charts/kubezero-aws-efs-csi-driver/affinity_resources.patch @@ -1,6 +1,6 @@ diff -tubNr charts/aws-efs-csi-driver/templates/node-daemonset.yaml charts/aws-efs-csi-driver.zdt/templates/node-daemonset.yaml --- charts/aws-efs-csi-driver/templates/node-daemonset.yaml 2021-03-19 00:22:54.000000000 +0100 -+++ charts/aws-efs-csi-driver.zdt/templates/node-daemonset.yaml 2021-03-24 12:16:25.242538180 +0100 ++++ charts/aws-efs-csi-driver.zdt/templates/node-daemonset.yaml 2021-03-24 12:20:11.369196706 +0100 @@ -40,15 +40,10 @@ {{- with .Values.nodeSelector }} {{- . | toYaml | nindent 8 }} @@ -26,14 +26,14 @@ diff -tubNr charts/aws-efs-csi-driver/templates/node-daemonset.yaml charts/aws-e failureThreshold: 5 + {{- with .Values.resources }} + resources: -+ {{- . | toYaml | nindent 8 }} ++ {{- . | toYaml | nindent 12 }} + {{- end }} - name: csi-driver-registrar image: {{ printf "%s:%s" .Values.sidecars.nodeDriverRegistrarImage.repository .Values.sidecars.nodeDriverRegistrarImage.tag }} args: diff -tubNr charts/aws-efs-csi-driver/values.yaml charts/aws-efs-csi-driver.zdt/values.yaml --- charts/aws-efs-csi-driver/values.yaml 2021-03-19 00:22:54.000000000 +0100 -+++ charts/aws-efs-csi-driver.zdt/values.yaml 2021-03-24 12:10:40.949217232 +0100 ++++ charts/aws-efs-csi-driver.zdt/values.yaml 2021-03-24 12:16:57.685870341 +0100 @@ -43,7 +43,15 @@ tolerations: [] diff --git a/charts/kubezero-aws-efs-csi-driver/charts/aws-efs-csi-driver/templates/node-daemonset.yaml b/charts/kubezero-aws-efs-csi-driver/charts/aws-efs-csi-driver/templates/node-daemonset.yaml index 2d815785..a8cd9a75 100644 --- a/charts/kubezero-aws-efs-csi-driver/charts/aws-efs-csi-driver/templates/node-daemonset.yaml +++ b/charts/kubezero-aws-efs-csi-driver/charts/aws-efs-csi-driver/templates/node-daemonset.yaml @@ -96,7 +96,7 @@ spec: failureThreshold: 5 {{- with .Values.resources }} resources: - {{- . | toYaml | nindent 8 }} + {{- . | toYaml | nindent 12 }} {{- end }} - name: csi-driver-registrar image: {{ printf "%s:%s" .Values.sidecars.nodeDriverRegistrarImage.repository .Values.sidecars.nodeDriverRegistrarImage.tag }}