Skip to content

Commit

Permalink
fix(kspm-collector): whitespace errors
Browse files Browse the repository at this point in the history
  • Loading branch information
yurrriq committed Oct 31, 2023
1 parent a2b1d68 commit ec68235
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/kspm-collector/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions charts/kspm-collector/templates/secret.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- if not ( include "kspmCollector.accessKeySecret" . ) }}
---
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -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:
Expand All @@ -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 }}

0 comments on commit ec68235

Please sign in to comment.