Skip to content

Commit

Permalink
feat(node-analyzer): Change Bottlerocket apiclient and socket volume …
Browse files Browse the repository at this point in the history
…mounts to ignore non existent files (#1797)
  • Loading branch information
SergioGabeteSysdig authored Jul 3, 2024
1 parent d9715af commit 798fee0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/node-analyzer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: node-analyzer
description: Sysdig Node Analyzer
# currently matching Sysdig's appVersion 1.14.34
version: 1.29.6
version: 1.29.7
appVersion: 12.9.0

keywords:
Expand Down
4 changes: 2 additions & 2 deletions charts/node-analyzer/templates/daemonset-node-analyzer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ spec:
- name: apiclient
hostPath:
path: {{ .Values.nodeAnalyzer.bottlerocket.apiClientPath }}
type: File
type: ""
- name: apiserver-socket
hostPath:
path: {{ .Values.nodeAnalyzer.bottlerocket.apiServerSocketPath }}
type: Socket
type: ""
{{- end }}
- name: tmp-vol
{{- if .Values.nodeAnalyzer.runtimeScanner.storageClassName }}
Expand Down
8 changes: 4 additions & 4 deletions charts/node-analyzer/tests/botllerocket_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tests:
name: apiclient
hostPath:
path: /usr/bin/apiclient
type: File
type: ""
count: 1
any: true
template: templates/daemonset-node-analyzer.yaml
Expand All @@ -42,7 +42,7 @@ tests:
name: apiserver-socket
hostPath:
path: /run/api.sock
type: Socket
type: ""
count: 1
any: true
template: templates/daemonset-node-analyzer.yaml
Expand Down Expand Up @@ -80,15 +80,15 @@ tests:
name: apiclient
hostPath:
path: /usr/bin/apiclient
type: File
type: ""
template: templates/daemonset-node-analyzer.yaml
- notContains:
path: spec.template.spec.volumes
content:
name: apiserver-socket
hostPath:
path: /run/api.sock
type: Socket
type: ""
template: templates/daemonset-node-analyzer.yaml
- notContains:
path: spec.template.spec.containers[0].volumeMounts
Expand Down
4 changes: 2 additions & 2 deletions charts/sysdig-deploy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sysdig-deploy
description: A chart with various Sysdig components for Kubernetes
type: application
version: 1.57.2
version: 1.57.3
maintainers:
- name: AlbertoBarba
email: [email protected]
Expand Down Expand Up @@ -36,7 +36,7 @@ dependencies:
- name: node-analyzer
# repository: https://charts.sysdig.com
repository: file://../node-analyzer
version: ~1.29.6
version: ~1.29.7
alias: nodeAnalyzer
condition: nodeAnalyzer.enabled
- name: cluster-scanner
Expand Down

0 comments on commit 798fee0

Please sign in to comment.