And I am receving the following error when validating the schema:
stdin - OpenSearchISMPolicy platypus-otto-shared is invalid: problem validating schema. Check JSON formatting: jsonschema: '/spec/states/1/actions/0/shrink' does not validate with file:///.../v1.26.5-standalone-strict/opensearchismpolicy-opensearch-v1.json#/properties/spec/properties/states/items/properties/actions/items/properties/shrink/required: missing properties: 'maxShardSize'
The error is saying that the maxShardSize property is required, but the maxShardSize property is not required in the shrink action for all permutations of how it can be used.
See the official documentation:
You are already handling the properties here:
opensearch-operator/pkg/reconcilers/ismpolicy.go
But we need to update the schema.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.
I have the following
OpenSearchISMPolicy
And I am receving the following error when validating the schema:
The error is saying that the
maxShardSize
property is required, but themaxShardSize
property is not required in theshrink
action for all permutations of how it can be used. See the official documentation:https://opensearch.org/docs/latest/im-plugin/ism/policies/#shrink
You are already handling the properties here: opensearch-operator/pkg/reconcilers/ismpolicy.go
But we need to update the schema.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.