Skip to content

Commit a56a39c

Browse files
Maor Halevioded-s1
authored andcommitted
charts: templates: added configuration variable log size for helper
1 parent c77e29b commit a56a39c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

charts/s1-agent/templates/_helpers.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ requests:
465465
{{- $helperConfig := dict "S1_HELPER_UUID" $uuid -}}
466466
{{- $_ := set $helperConfig "S1_INVENTORY_ENABLED" (printf "%t" .Values.configuration.env.helper.inventory_enabled) -}}
467467
{{- $_ := set $helperConfig "S1_INVENTORY_ONLY" (printf "%t" .Values.configuration.inventory_only) -}}
468+
{{- $_ := set $helperConfig "S1_HELPER_LOG_SIZE" (.Values.configuration.env.helper.log_size | toString) -}}
468469
{{- $_ := set $helperConfig "COMMUNICATOR_ENABLED" (printf "%t" .Values.configuration.env.helper.communicator_enabled) -}}
469470
{{- if .Values.configuration.env.helper.communicator_enabled -}}
470471
{{- $_ := set $helperConfig "S1_MANAGEMENT_PROXY" (default "" .Values.configuration.proxy) -}}

charts/s1-agent/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ configuration:
3333
ebpf_enabled: # to disable EBPF mode, set to 'false' (Unsupported in EKS Fargate)
3434
helper:
3535
log_level: "" # info, error, warning, debug, trace (defaults to 'info')
36+
log_size: "" # helper log file size in MBs. (defaults to 10)
3637
client_timeout: # client timeout. (seconds, default=120)
3738
inventory_enabled: true
3839
communicator_enabled: true

0 commit comments

Comments
 (0)