Skip to content

Commit

Permalink
fix(agent,kspm-collector,node-analyzer,sysdig): whitespace errors (#1436
Browse files Browse the repository at this point in the history
)
  • Loading branch information
yurrriq authored Nov 2, 2023
1 parent 8db7567 commit f378d19
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion charts/agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ sources:
- https://app.sysdigcloud.com/#/settings/user
- https://github.com/draios/sysdig
type: application
version: 1.15.1
version: 1.15.2
8 changes: 4 additions & 4 deletions charts/agent/templates/secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- if not ( include "agent.accessKeySecret" . ) }}
---
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -8,10 +9,10 @@ metadata:
{{ include "agent.labels" . | indent 4 }}
type: Opaque
data:
access-key : {{ include "agent.accessKey" . | b64enc | quote }}
---
access-key: {{ include "agent.accessKey" . | b64enc | quote }}
{{- end }}
{{- range .Values.extraSecrets }}
---
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -22,9 +23,9 @@ metadata:
type: Opaque
data:
{{ toYaml .data | indent 2 }}
---
{{- end }}
{{- if eq (include "sysdig.custom_ca.useValues" (dict "global" .Values.global.ssl "component" .Values.ssl)) "true" }}
---
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -34,5 +35,4 @@ metadata:
{{ include "agent.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 }}
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.1
version: 0.9.2
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 }}
2 changes: 1 addition & 1 deletion charts/node-analyzer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: node-analyzer
description: Sysdig Node Analyzer

# currently matching Sysdig's appVersion 1.14.34
version: 1.18.1
version: 1.18.2
appVersion: 12.8.0
keywords:
- monitoring
Expand Down
10 changes: 5 additions & 5 deletions charts/node-analyzer/templates/secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{- if not (include "nodeAnalyzer.gke.autopilot" .) }}
{{- if not ( include "nodeAnalyzer.accessKeySecret" . ) }}
{{- if not (include "nodeAnalyzer.accessKeySecret" .) }}
---
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -9,11 +10,11 @@ metadata:
{{ include "nodeAnalyzer.labels" . | indent 4 }}
type: Opaque
data:
access-key : {{ include "nodeAnalyzer.accessKey" . | b64enc | quote }}
access-key: {{ include "nodeAnalyzer.accessKey" . | b64enc | quote }}
{{- end }}
---
{{- end }}
{{- if eq (include "sysdig.custom_ca.useValues" (dict "global" .Values.global.ssl "component" .Values.nodeAnalyzer.ssl)) "true" }}
{{- if eq (include "sysdig.custom_ca.useValues" (dict "global" .Values.global.ssl "component" .Values.nodeAnalyzer.ssl)) "true" }}
---
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -23,5 +24,4 @@ metadata:
{{ include "nodeAnalyzer.labels" . | indent 4 }}
data:
{{ include "sysdig.custom_ca.keyName" (dict "global" .Values.global.ssl "component" .Values.nodeAnalyzer.ssl) }}: {{ include "sysdig.custom_ca.cert" (dict "global" .Values.global.ssl "component" .Values.nodeAnalyzer.ssl "Files" .Subcharts.common.Files) | b64enc | quote }}
---
{{- end }}
2 changes: 1 addition & 1 deletion charts/sysdig/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ name: sysdig
sources:
- https://app.sysdigcloud.com/#/settings/user
- https://github.com/draios/sysdig
version: 1.16.19
version: 1.16.20
6 changes: 3 additions & 3 deletions charts/sysdig/templates/secrets.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- if not .Values.sysdig.existingAccessKeySecret }}
---
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -7,10 +8,10 @@ metadata:
{{ include "sysdig.labels" . | indent 4 }}
type: Opaque
data:
access-key : {{ required "A valid .Values.sysdig.accessKey is required" .Values.sysdig.accessKey | b64enc | quote }}
---
access-key: {{ required "A valid .Values.sysdig.accessKey is required" .Values.sysdig.accessKey | b64enc | quote }}
{{- end }}
{{- range .Values.extraSecrets }}
---
apiVersion: v1
kind: Secret
metadata:
Expand All @@ -20,5 +21,4 @@ metadata:
type: Opaque
data:
{{ toYaml .data | indent 2 }}
---
{{- end }}

0 comments on commit f378d19

Please sign in to comment.