Skip to content

Commit

Permalink
copy opensearchindextemplates crd to helm chart
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Groschupp <[email protected]>
  • Loading branch information
cgroschupp committed Apr 5, 2024
1 parent 495125c commit fad542a
Showing 1 changed file with 42 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.10.0
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.14.0
name: opensearchindextemplates.opensearch.opster.io
spec:
group: opensearch.opster.io
Expand All @@ -24,14 +23,19 @@ spec:
templates API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
Expand All @@ -41,12 +45,25 @@ spec:
description: Optional user metadata about the index template
x-kubernetes-preserve-unknown-fields: true
composedOf:
description: An ordered list of component template names. Component
templates are merged in the order specified, meaning that the last
component template specified has the highest precedence
description: |-
An ordered list of component template names. Component templates are merged in the order specified,
meaning that the last component template specified has the highest precedence
items:
type: string
type: array
dataStream:
description: The dataStream config that should be applied
properties:
timestamp_field:
description: TimestampField for dataStream
properties:
name:
description: Name of the field that are used for the DataStream
type: string
required:
- name
type: object
type: object
indexPatterns:
description: Array of wildcard expressions used to match the names
of indices during creation
Expand All @@ -57,19 +74,22 @@ spec:
description: The name of the index template. Defaults to metadata.name
type: string
opensearchCluster:
description: LocalObjectReference contains enough information to let
you locate the referenced object inside the same namespace.
description: |-
LocalObjectReference contains enough information to let you locate the
referenced object inside the same namespace.
properties:
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?'
description: |-
Name of the referent.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind, uid?
type: string
type: object
x-kubernetes-map-type: atomic
priority:
description: Priority to determine index template precedence when
a new data stream or index is created. The index template with the
highest priority is chosen
description: |-
Priority to determine index template precedence when a new data stream or index is created.
The index template with the highest priority is chosen
type: integer
template:
description: The template that should be applied
Expand Down Expand Up @@ -123,10 +143,10 @@ spec:
description: Name of the currently managed index template
type: string
managedCluster:
description: UID is a type that holds unique ID values, including
UUIDs. Because we don't ONLY use UUIDs, this is an alias to string. Being
a type captures intent and helps make sure that UIDs and names do
not get conflated.
description: |-
UID is a type that holds unique ID values, including UUIDs. Because we
don't ONLY use UUIDs, this is an alias to string. Being a type captures
intent and helps make sure that UIDs and names do not get conflated.
type: string
reason:
type: string
Expand Down

0 comments on commit fad542a

Please sign in to comment.