From ca200440492cf2d184a0ea4af8ed25a038352e1c Mon Sep 17 00:00:00 2001 From: Thibault VINCENT Date: Tue, 13 Dec 2022 15:39:39 +0100 Subject: [PATCH] chore(helm): remove commented code subPath was never used, the reason is presented in README file --- .../charts/x509-certificate-exporter/templates/daemonset.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/deploy/charts/x509-certificate-exporter/templates/daemonset.yaml b/deploy/charts/x509-certificate-exporter/templates/daemonset.yaml index 1e2574f..97e1d2d 100644 --- a/deploy/charts/x509-certificate-exporter/templates/daemonset.yaml +++ b/deploy/charts/x509-certificate-exporter/templates/daemonset.yaml @@ -108,13 +108,11 @@ spec: {{- range default $.Values.hostPathsExporter.watchFiles $dsDef.watchFiles }} - name: file-{{ . | clean | sha1sum }} mountPath: /mnt/watch/file-{{ . | clean | sha1sum }}/{{ . | clean | dir }} - #subPath: {{ . | base }} readOnly: true {{- end }} {{- range default $.Values.hostPathsExporter.watchKubeconfFiles $dsDef.watchKubeconfFiles }} - name: kube-{{ . | clean | sha1sum }} mountPath: /mnt/watch/kube-{{ . | clean | sha1sum }}/{{ . | clean | dir }} - #subPath: {{ . | base }} readOnly: true {{- end }} {{- range $extraVolumeMounts }}