Add OPA doc and remove deprecation marking (#14863)

This commit is contained in:
Aditya Manthramurthy
2022-05-04 23:53:42 -07:00
committed by GitHub
parent bcdaa09c75
commit 2b7e75e079
3 changed files with 85 additions and 3 deletions

View File

@@ -28,13 +28,13 @@ var (
Help = config.HelpKVS{
config.HelpKV{
Key: URL,
Description: `[DEPRECATED] OPA HTTP(s) endpoint e.g. "http://localhost:8181/v1/data/httpapi/authz/allow"` + defaultHelpPostfix(URL),
Description: `OPA HTTP(s) endpoint e.g. "http://localhost:8181/v1/data/httpapi/authz/allow"` + defaultHelpPostfix(URL),
Type: "url",
Sensitive: true,
},
config.HelpKV{
Key: AuthToken,
Description: "[DEPRECATED] authorization token for OPA endpoint" + defaultHelpPostfix(AuthToken),
Description: "authorization token for OPA endpoint" + defaultHelpPostfix(AuthToken),
Optional: true,
Type: "string",
Sensitive: true,