opensearch-project / opensearch-k8s-operator

OpenSearch Kubernetes Operator
Apache License 2.0
366 stars 192 forks source link

[FEATURE] Support dataStream inside OpensearchIndexTemplate #766

Closed cgroschupp closed 3 months ago

cgroschupp commented 3 months ago

To allow data streams to be created directly from an index template, it is necessary to support this in the OpensearchIndexTemplate resource.

Example OpensearchIndexTemplate:

apiVersion: opensearch.opster.io/v1
kind: OpensearchIndexTemplate
metadata:
  name: logs
spec:
  opensearchCluster:
    name: test
  name: logs
  indexPatterns:
    - "logs-*"
  dataStream: {}
salyh commented 3 months ago

This would absolutely make sense. Thank you for your contribution.