From dccbf484a8b99579fea5a6c13d5322d81827ca4d Mon Sep 17 00:00:00 2001 From: Jorge Isnardo Altamirano Date: Tue, 3 Dec 2019 09:18:59 +0100 Subject: [PATCH] fixed toYaml --- charts/ceph-csi-cephfs/templates/nodeplugin-daemonset.yaml | 2 +- charts/ceph-csi-cephfs/templates/provisioner-deployment.yaml | 2 +- charts/ceph-csi-rbd/templates/nodeplugin-daemonset.yaml | 2 +- charts/ceph-csi-rbd/templates/provisioner-deployment.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/ceph-csi-cephfs/templates/nodeplugin-daemonset.yaml b/charts/ceph-csi-cephfs/templates/nodeplugin-daemonset.yaml index 469d43a2a..72adeebd9 100644 --- a/charts/ceph-csi-cephfs/templates/nodeplugin-daemonset.yaml +++ b/charts/ceph-csi-cephfs/templates/nodeplugin-daemonset.yaml @@ -186,7 +186,7 @@ spec: } {{- if .Values.nodeplugin.affinity }} affinity: -{{ toYaml .Values.nodeplugin.affinity . | indent 8 -}} +{{ toYaml .Values.nodeplugin.affinity | indent 8 -}} {{- end -}} {{- if .Values.nodeplugin.nodeSelector }} nodeSelector: diff --git a/charts/ceph-csi-cephfs/templates/provisioner-deployment.yaml b/charts/ceph-csi-cephfs/templates/provisioner-deployment.yaml index 7d968eb05..b6792bc1c 100644 --- a/charts/ceph-csi-cephfs/templates/provisioner-deployment.yaml +++ b/charts/ceph-csi-cephfs/templates/provisioner-deployment.yaml @@ -186,7 +186,7 @@ spec: } {{- if .Values.provisioner.affinity }} affinity: -{{ toYaml .Values.provisioner.affinity . | indent 8 -}} +{{ toYaml .Values.provisioner.affinity | indent 8 -}} {{- end -}} {{- if .Values.provisioner.nodeSelector }} nodeSelector: diff --git a/charts/ceph-csi-rbd/templates/nodeplugin-daemonset.yaml b/charts/ceph-csi-rbd/templates/nodeplugin-daemonset.yaml index 40086af7d..3c03d4541 100644 --- a/charts/ceph-csi-rbd/templates/nodeplugin-daemonset.yaml +++ b/charts/ceph-csi-rbd/templates/nodeplugin-daemonset.yaml @@ -183,7 +183,7 @@ spec: } {{- if .Values.nodeplugin.affinity }} affinity: -{{ toYaml .Values.nodeplugin.affinity . | indent 8 -}} +{{ toYaml .Values.nodeplugin.affinity | indent 8 -}} {{- end -}} {{- if .Values.nodeplugin.nodeSelector }} nodeSelector: diff --git a/charts/ceph-csi-rbd/templates/provisioner-deployment.yaml b/charts/ceph-csi-rbd/templates/provisioner-deployment.yaml index 5a83e46e3..2554fb908 100644 --- a/charts/ceph-csi-rbd/templates/provisioner-deployment.yaml +++ b/charts/ceph-csi-rbd/templates/provisioner-deployment.yaml @@ -183,7 +183,7 @@ spec: } {{- if .Values.provisioner.affinity }} affinity: -{{ toYaml .Values.provisioner.affinity . | indent 8 -}} +{{ toYaml .Values.provisioner.affinity | indent 8 -}} {{- end -}} {{- if .Values.provisioner.nodeSelector }} nodeSelector: