Skip to content

Commit

Permalink
Use K8S client informers & Logger level from values (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
k8spacket authored Nov 7, 2024
1 parent 3284d7a commit fade807
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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.1.1
appVersion: 2.1.1
version: 2.1.2
appVersion: 2.1.2
2 changes: 2 additions & 0 deletions charts/k8spacket/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ spec:
value: {{ .Values.k8sPacket.tls.certificate.cache.ttl }}
- name: K8S_PACKET_TLS_METRICS_ENABLED
value: {{ .Values.k8sPacket.tls.metrics.enabled | quote }}
- name: LOG_LEVEL
value: {{ .Values.k8sPacket.logger.level | quote }}
volumeMounts:
- mountPath: /sys/kernel/tracing
name: tracing
Expand Down
3 changes: 3 additions & 0 deletions charts/k8spacket/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ k8sPacket:
metrics:
## Enabled/disabled exposing TLS Prometheus metrics
enabled: true
logger:
## Logger level. Available values: DEBUG,INFO,WARN,ERROR
level: INFO
volumes:
## path to kernel tracing folder on an instance
## default to '/sys/kernel/tracing'
Expand Down

0 comments on commit fade807

Please sign in to comment.