From 2a4b158ec7eac301b70561a2d6d495af822c016c Mon Sep 17 00:00:00 2001 From: jallphin Date: Wed, 5 Jun 2024 15:46:38 -0600 Subject: [PATCH] Template defaultTags --- charts/k8s-pvc-tagger/Chart.yaml | 2 +- charts/k8s-pvc-tagger/templates/deployment.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/k8s-pvc-tagger/Chart.yaml b/charts/k8s-pvc-tagger/Chart.yaml index bbcc7e5..96b1a72 100644 --- a/charts/k8s-pvc-tagger/Chart.yaml +++ b/charts/k8s-pvc-tagger/Chart.yaml @@ -16,5 +16,5 @@ keywords: sources: - https://github.com/mtougeron/k8s-pvc-tagger -version: 2.1.0 +version: 2.1.1 appVersion: v1.1.0 diff --git a/charts/k8s-pvc-tagger/templates/deployment.yaml b/charts/k8s-pvc-tagger/templates/deployment.yaml index 9164d1b..2686251 100644 --- a/charts/k8s-pvc-tagger/templates/deployment.yaml +++ b/charts/k8s-pvc-tagger/templates/deployment.yaml @@ -33,7 +33,7 @@ spec: - --annotation-prefix={{ .Values.annotationPrefix }} {{- end }} {{- if .Values.defaultTags }} - - --default-tags={{ .Values.defaultTags | toJson }} + - --default-tags={{ tpl (.Values.defaultTags) $ | toJson }} {{- end }} {{- if .Values.watchNamespace }} - --watch-namespace={{ .Values.watchNamespace }}