Documentation missmatch, leading to incorrect CRDs configuration of ISMPolicy

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Describe the issue:

Hello, here the link for documentation about the ISM policy in particular allocation, Policies - OpenSearch Documentation.

Configuration:
As seen in the screenshot

require Allocate the index to a node with a specified attribute. string Yes
include Allocate the index to a node with any of the specified attributes. string Yes
exclude Don’t allocate the index to a node with any of the specified attributes. string Yes

require, include and exclude fields are mentioned as string, but as per the response from Opensearch API they are objects. Since the Opensearch K8 operator is used this documentation to create the CRDs OpensearchISMPolicy, since that does not match, operator unable to create/update the ISM Policy, even Shrink section also have some issue I haven’t found the root cause though, but this is error screenshot

Relevant Logs or Screenshots:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.