diff --git a/crowdsec-docs/docs/configuration/crowdsec_configuration.md b/crowdsec-docs/docs/configuration/crowdsec_configuration.md index d72004995..5dfbd6355 100644 --- a/crowdsec-docs/docs/configuration/crowdsec_configuration.md +++ b/crowdsec-docs/docs/configuration/crowdsec_configuration.md @@ -171,6 +171,7 @@ api: client: insecure_skip_verify: "(true|false)" credentials_path: "" + unregister_on_exit: "(true|false)" server: enable: # enable or disable local API log_level: "(error|info|debug|trace>")" @@ -741,6 +742,7 @@ api: client: insecure_skip_verify: "(true|false)" credentials_path: "" + unregister_on_exit: "(true|false)" server: enable: log_level: "(error|info|debug|trace>" @@ -830,6 +832,7 @@ The client subsection is used by `crowdsec` and `cscli` to read and write decisi client: insecure_skip_verify: "(true|false)" credentials_path: "" + unregister_on_exit: "(true|false)" ``` ##### `insecure_skip_verify` @@ -842,6 +845,13 @@ Allows the use of https with self-signed certificates. Path to the credential files (contains API url + login/password). +##### `unregister_on_exit` +>bool + +If set to `true`, the log processor will remove delete itself from LAPI when stopping. + +Intended for use in dynamic environment such as Kubernetes. + #### `server` The `server` subsection is the local API configuration.