You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/opensearch/pages/index.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ It creates a number of different Kubernetes resources based on this {crs}[custom
32
32
The OpenSearchCluster is the resource for the configuration of the OpenSearch instance.
33
33
The resource defines only one xref:concepts:roles-and-role-groups.adoc[role], the `nodes`.
34
34
The various configuration options are explained in the xref:usage-guide/index.adoc[].
35
-
It helps you tune your cluster to your needs by configuring xref:usage-guide/storage-resource-configuration.adoc[resource usage], xref:usage-guide/security.adoc[security], xref:usage-guide/logging.adoc[logging] and more.
35
+
It helps you tune your cluster to your needs by configuring xref:usage-guide/storage-resource-configuration.adoc[resource usage] and more.
The cluster definition also supports overriding configuration properties and environment variables,
3
+
The cluster definition also supports overriding configuration properties, environment variables and CLI parameters,
4
4
either per role or per role group, where the more specific override (role group) has precedence over
5
5
the less specific one (role).
6
6
7
-
IMPORTANT: Overriding certain properties which are set by the operator (such as the `STATS_LOGGER`) can interfere with the operator and can lead to problems.
7
+
IMPORTANT: Overriding certain properties which are set by the operator (such as the `network.host`) can interfere with the operator and can lead to problems.
8
8
9
9
== Configuration Properties
10
10
11
-
For a role or role group, at the same level of `config`, you can specify `configOverrides` for the `superset_config.py`.
12
-
For example, if you want to set the CSV export encoding and the preferred databases adapt the `nodes` section of the cluster resource as follows:
11
+
For a role or role group, at the same level of `config`, you can specify `configOverrides` for the `opensearch.yml`.
12
+
For example, if you want to enable role-based access to the REST management API for the role `all_access`, then adapt the `nodes` section of the cluster resource as follows:
They are added unchanged to the configuration file.
56
40
So care must be taken to produce a valid configuration.
57
41
58
-
For a full list of configuration options we refer to the
59
-
https://github.com/apache/superset/blob/master/superset/config.py[main config file for Superset].
42
+
For a list of configuration options, we refer to the
43
+
https://docs.opensearch.org/docs/latest/install-and-configure/configuring-opensearch/index/[Configuring OpenSearch] section in the OpenSearch documentation.
60
44
61
-
As Superset can be configured with python code too, arbitrary code can be added to the `superset_conf.py`.
62
-
You can use either `EXPERIMENTAL_FILE_HEADER` to add code to the top or `EXPERIMENTAL_FILE_FOOTER` to add to the bottom.
45
+
The file `opensearch.yml` is a YAML file, where deep structures are possible.
46
+
On the other hand, `configOverrides` are only flat key-value pairs.
47
+
Fortunately, this is not a problem because the OpenSearch YAML parser allows both representations.
0 commit comments