Skip to content

Commit 196dfca

Browse files
committed
make response field configurable: docs
1 parent 9e7942a commit 196dfca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ Group mappings are resolved on the NameNode and the following configuration shou
5959

6060
* The Opa Server endpoint e.g. `"http://test-opa.default.svc.cluster.local:8081/v1/data/hdfs"`
6161

62+
#### hadoop.security.group.mapping.opa.list.name
63+
64+
* Opa responses have a [root field](https://www.openpolicyagent.org/docs/latest/rest-api/#response-message) called `result`: the result itself - in this case of a list of user groups - is a top-level field within the root field and is configurable i.e. the group mapper just needs to look up this field from the response and this is passed in the configuration. This means that both the output format of the rego rule and the corresponding response field are configured independently of the group mapper.
65+
6266
#### hadoop.user.group.static.mapping.overrides
6367

6468
* The hdfs-operator will add a default static mapping whenever kerberos is activated. This should be removed so that the mapping implementation can provide this information instead: i.e. with an empty string `""`

0 commit comments

Comments
 (0)