VictoriaMetrics/lib/flagutil
Nikolay cb50408dc6
fscore: rollback trailing space trim (#7106)
Previous commit 201fd6de1e removed
trailing space trim from data read from file. But common practice is to
remove such trailing space. And it leaded to the authorization errors
for the major group of users.

In first place, this change must help to mitigate an issue with
kubernetes. When authorization information was read from Secret content.
Changes to the operator was made to mitigate such problem at commit
1cf64358c8

We could introduce later optional flag for VictoriaMetrics to disable
trim space behavior.

Related issues:
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6986
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/7089 
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6947

---------

Signed-off-by: f41gh7 <nik@victoriametrics.com>
Co-authored-by: Zhu Jiekun <jiekun@victoriametrics.com>
2024-09-29 14:48:36 +02:00
..
testdata all: allow dynamically reading *AuthKey flag values from files and urls 2024-01-22 01:23:23 +02:00
array_test.go all: add support for specifying multiple -httpListenAddr options 2024-02-09 03:22:49 +02:00
array.go all: add support for specifying multiple -httpListenAddr options 2024-02-09 03:22:49 +02:00
bytes_test.go docs/CHANGELOG.md: support empty command-line flag values in short array notation 2024-02-07 20:55:01 +02:00
bytes.go app/vmagent: add max_scrape_size to scrape config (#6434) 2024-06-20 14:00:22 +02:00
dict_test.go all: add support for specifying multiple -httpListenAddr options 2024-02-09 03:22:49 +02:00
dict.go app/{vmagent,vmalert}: add the ability to set OAuth2 endpoint params via the corresponding *.oauth2.endpointParams command-line flags 2023-12-20 21:38:16 +02:00
duration_test.go lib/flagutil: use month limit for duration flag for parsed duration assessment (#6486) 2024-06-14 15:21:32 +02:00
duration.go lib/flagutil: use month limit for duration flag for parsed duration assessment (#6486) 2024-06-14 15:21:32 +02:00
flag.go
password_test.go fscore: rollback trailing space trim (#7106) 2024-09-29 14:48:36 +02:00
password.go lib/httpserver: skip basic auth check for additional request paths, which should call httpserver.CheckAuthFlag() 2024-07-16 01:08:41 +02:00
secret.go
usage.go