Skip to content

Commit 03b8dc3

Browse files
authored
add unregister_on_exit option (#794)
1 parent 960ecb8 commit 03b8dc3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

crowdsec-docs/docs/configuration/crowdsec_configuration.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ api:
171171
client:
172172
insecure_skip_verify: "(true|false)"
173173
credentials_path: "<path_to_local_api_client_credential_file>"
174+
unregister_on_exit: "(true|false)"
174175
server:
175176
enable: <true|false> # enable or disable local API
176177
log_level: "(error|info|debug|trace>")"
@@ -741,6 +742,7 @@ api:
741742
client:
742743
insecure_skip_verify: "(true|false)"
743744
credentials_path: "<path_to_local_api_client_credential_file>"
745+
unregister_on_exit: "(true|false)"
744746
server:
745747
enable: <true|false>
746748
log_level: "(error|info|debug|trace>"
@@ -830,6 +832,7 @@ The client subsection is used by `crowdsec` and `cscli` to read and write decisi
830832
client:
831833
insecure_skip_verify: "(true|false)"
832834
credentials_path: "<path_to_local_api_client_credential_file>"
835+
unregister_on_exit: "(true|false)"
833836
```
834837

835838
##### `insecure_skip_verify`
@@ -842,6 +845,13 @@ Allows the use of https with self-signed certificates.
842845

843846
Path to the credential files (contains API url + login/password).
844847

848+
##### `unregister_on_exit`
849+
>bool
850+
851+
If set to `true`, the log processor will remove delete itself from LAPI when stopping.
852+
853+
Intended for use in dynamic environment such as Kubernetes.
854+
845855
#### `server`
846856

847857
The `server` subsection is the local API configuration.

0 commit comments

Comments
 (0)