Skip to content

Commit 3b3b68a

Browse files
committed
Add a note about setting logging-format and log-level to the Helm chart values documentation.
Signed-off-by: Richard Wall <[email protected]>
1 parent 3b2c375 commit 3b3b68a

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

deploy/charts/venafi-kubernetes-agent/README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,18 @@ Specify the command to run overriding default binary.
265265
> []
266266
> ```
267267
268-
Specify additional arguments to pass to the agent binary.
269-
Example: `["--strict", "--oneshot"]`
268+
Specify additional arguments to pass to the agent binary. For example, to enable JSON logging use `--logging-format`, or to increase the logging verbosity use `--log-level`.
269+
The log levels are: 0=Info, 1=Debug, 2=Trace.
270+
Use 6-9 for increasingly verbose HTTP request logging.
271+
The default log level is 0.
272+
273+
Example:
274+
275+
```yaml
276+
extraArgs:
277+
- --logging-format=json
278+
- --log-level=6 # To enable HTTP request logging
279+
```
270280
#### **volumes** ~ `array`
271281
> Default value:
272282
> ```yaml

deploy/charts/venafi-kubernetes-agent/values.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@
308308
},
309309
"helm-values.extraArgs": {
310310
"default": [],
311-
"description": "Specify additional arguments to pass to the agent binary.\nExample: `[\"--strict\", \"--oneshot\"]`",
311+
"description": "Specify additional arguments to pass to the agent binary. For example, to enable JSON logging use `--logging-format`, or to increase the logging verbosity use `--log-level`.\nThe log levels are: 0=Info, 1=Debug, 2=Trace.\nUse 6-9 for increasingly verbose HTTP request logging.\nThe default log level is 0.\n\nExample:\nextraArgs:\n- --logging-format=json\n- --log-level=6 # To enable HTTP request logging",
312312
"items": {},
313313
"type": "array"
314314
},

deploy/charts/venafi-kubernetes-agent/values.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,16 @@ affinity: {}
146146
command: []
147147

148148
# Specify additional arguments to pass to the agent binary.
149-
# Example: `["--strict", "--oneshot"]`
149+
# For example, to enable JSON logging use `--logging-format`, or
150+
# to increase the logging verbosity use `--log-level`.
151+
# The log levels are: 0=Info, 1=Debug, 2=Trace.
152+
# Use 6-9 for increasingly verbose HTTP request logging.
153+
# The default log level is 0.
154+
#
155+
# Example:
156+
# extraArgs:
157+
# - --logging-format=json
158+
# - --log-level=6 # To enable HTTP request logging
150159
extraArgs: []
151160

152161
# Additional volumes to add to the Venafi Kubernetes Agent container. This is

0 commit comments

Comments
 (0)