Skip to content

Commit

Permalink
add an option to change log level (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
okdas authored Apr 11, 2024
1 parent bb6fb5c commit 3253351
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/poktroll-validator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.2
version: 0.1.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 3 additions & 0 deletions charts/poktroll-validator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ spec:
- --rpc.laddr=tcp://0.0.0.0:36657
- --p2p.laddr=0.0.0.0:36656
- --grpc.address=0.0.0.0:36658
- --log_no_color
- --log_level={{ .Values.logs.level }}
- --log_format={{ .Values.logs.format }}
volumeMounts:
- name: scripts-volume
mountPath: /scripts
Expand Down
4 changes: 4 additions & 0 deletions charts/poktroll-validator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ keysConfigMapName: poktrolld-keys # TODO(@okdas): provision in the chart
serviceMonitor:
enabled: false

logs:
level: info
format: plain

image:
repository: ghcr.io/pokt-network/poktrolld
tag: latest
Expand Down

0 comments on commit 3253351

Please sign in to comment.