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 authored and mavimo committed Nov 2, 2023
1 parent 8961154 commit ee6a52b
Showing 1 changed file with 3 additions and 3 deletions.
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 ee6a52b

Please sign in to comment.