Hi,
I am adding the LDAP authentication to my cluster, I need to create the group_to_role_mapping.yml file for the roles. Is there an example I can follow?
spec:
nodes: # incomplete config, just to convey the idea!
- config:
xpack.security.authc.realms:
...
ldap.realm1: # adjust to your config of course
...
files.role_mapping: /mnt/config/role-mapping/group_to_role_mapping.yml
podTemplate:
spec:
containers:
- name: elasticsearch
volumeMounts:
- name: role-mapping
mountPath: /mnt/config/role-mapping # just an example, you can chose something that works for you here
volumes:
- name: role-mapping
configMap:
name: role-mappings
This assumes you have created a ConfigMap called role-mappings containing your group_to_role_mapping.yml file
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.