Skip to content

Commit

Permalink
feat: Make volume host path configurable (#31)
Browse files Browse the repository at this point in the history
* feat: Make volume host path configurable

* fix: Review comments

* Adapt value documentation to make more clear how to set this value
* Upgrade Chart version
  • Loading branch information
alexandersperling committed Apr 3, 2024
1 parent 0a6e493 commit 0428437
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/k8spacket/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ description: A Helm chart for k8spacket tool
maintainers:
- name: k8spacket
email: k8spacket@gmail.com
version: 2.0.1
version: 2.0.2
appVersion: 2.0.0
2 changes: 1 addition & 1 deletion charts/k8spacket/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ spec:
emptyDir: {}
- name: tracing
hostPath:
path: /sys/kernel/tracing
path: {{ .Values.k8sPacket.volumes.tracingPath }}
8 changes: 7 additions & 1 deletion charts/k8spacket/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,10 @@ k8sPacket:
ttl: "24h"
metrics:
## Enabled/disabled exposing TLS Prometheus metrics
enabled: true
enabled: true
volumes:
## path to kernel tracing folder on an instance
## default to '/sys/kernel/tracing'
## check by command: 'mount -t tracefs'
## f.e. on 'Amazon Linux 2 Kernel 5.10' this should be set to '/sys/kernel/debug/tracing'
tracingPath: /sys/kernel/tracing

0 comments on commit 0428437

Please sign in to comment.