From d22d976d642104a2ca062d4fad99e6db5bcd1c32 Mon Sep 17 00:00:00 2001 From: Salah Al Saleh Date: Mon, 7 Aug 2023 09:28:31 -0700 Subject: [PATCH] Fix supportbundle secret syntax (#70) --- chart/templates/replicated-sdk-supportbundle.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chart/templates/replicated-sdk-supportbundle.yaml b/chart/templates/replicated-sdk-supportbundle.yaml index 715f55e2..a14e40c9 100644 --- a/chart/templates/replicated-sdk-supportbundle.yaml +++ b/chart/templates/replicated-sdk-supportbundle.yaml @@ -20,5 +20,7 @@ stringData: - logs: collectorName: replicated-sdk-logs selector: - {{- include "replicated-sdk.labels" . | nindent 14 }} + {{- range $k, $v := (include "replicated-sdk.labels" . | fromYaml) }} + - {{ $k }}={{ $v }} + {{- end }} name: replicated-sdk/logs