add reload auth key for vmauth

This commit is contained in:
ace 2021-12-22 19:23:55 +03:00
parent a7323bb1ed
commit 8524445662
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@ Example hosts file:
Example group_vars:
victoriametrics_vmauth_reloadAuthKey: reload-auth-key
victoriametrics_vmauth_users:
- id: "1"
username: "foobar"

View File

@ -1,4 +1,4 @@
# https://docs.victoriametrics.com/vmauth.html
#
ARGS="-auth.config={{ victoriametrics_vmauth_config_file }}"
ARGS="-auth.config={{ victoriametrics_vmauth_config_file }} -reloadAuthKey={{ victoriametrics_vmauth_reloadAuthKey }}"