From ec68235493cdffb49dd68a8e168f45e7954ca674 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 31 Oct 2023 10:25:21 -0500 Subject: [PATCH] fix(kspm-collector): whitespace errors --- charts/kspm-collector/Chart.yaml | 2 +- charts/kspm-collector/templates/secret.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/kspm-collector/Chart.yaml b/charts/kspm-collector/Chart.yaml index 258b35c57..12bf533f8 100644 --- a/charts/kspm-collector/Chart.yaml +++ b/charts/kspm-collector/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kspm-collector description: Sysdig KSPM collector -version: 0.9.0 +version: 0.9.1 appVersion: 1.34.0 keywords: diff --git a/charts/kspm-collector/templates/secret.yaml b/charts/kspm-collector/templates/secret.yaml index 2015e4638..7ac1d2ff1 100644 --- a/charts/kspm-collector/templates/secret.yaml +++ b/charts/kspm-collector/templates/secret.yaml @@ -1,4 +1,5 @@ {{- if not ( include "kspmCollector.accessKeySecret" . ) }} +--- apiVersion: v1 kind: Secret metadata: @@ -8,10 +9,10 @@ metadata: {{ include "kspmCollector.labels" . | indent 4 }} type: Opaque data: - access-key : {{ include "kspmCollector.accessKey" . | b64enc | quote }} ---- + access-key: {{ include "kspmCollector.accessKey" . | b64enc | quote }} {{- end }} {{- if eq (include "sysdig.custom_ca.enabled" (dict "global" .Values.global.ssl "component" .Values.ssl)) "true" }} +--- apiVersion: v1 kind: Secret metadata: @@ -21,5 +22,4 @@ metadata: {{ include "kspmCollector.labels" . | indent 4 }} data: {{ include "sysdig.custom_ca.keyName" (dict "global" .Values.global.ssl "component" .Values.ssl) }}: {{ include "sysdig.custom_ca.cert" (dict "global" .Values.global.ssl "component" .Values.ssl "Files" .Subcharts.common.Files) | b64enc | quote }} ---- {{- end }}