Skip to content

Commit

Permalink
Merge pull request #38 from olhado/low-power-fix
Browse files Browse the repository at this point in the history
Fix up low power setting name, and default to false.
  • Loading branch information
patcable authored May 16, 2022
2 parents 998487c + 3815cf9 commit 50f6a33
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: threatstack-agent
version: 3.0.0
version: 3.0.1
appVersion: 3.0.0
description: A Helm chart for the Threat Stack Cloud Security Agent
keywords:
Expand Down
2 changes: 1 addition & 1 deletion templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Return low-power config if setting is enabled
{{- else -}}
{{- if eq .Values.daemonset.enableLowPowerMode false -}}
{{- else -}}
{{- default "--low-power=true" -}}
{{- default "--low_power=true" -}}
{{- end -}}
{{- end -}}
{{- end -}}
2 changes: 1 addition & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ daemonset:
#
# Ref: https://threatstack.zendesk.com/hc/en-us/articles/360016132692-Threat-Stack-Kubernetes-Deployment
#
enableLowPowerMode: true
enableLowPowerMode: false

additionalRuntimeConfig: "log.level info"
# Override the agent's liveness probe logic from the default:
Expand Down

0 comments on commit 50f6a33

Please sign in to comment.