-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrd-index.yaml
40 lines (39 loc) · 1.11 KB
/
crd-index.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: elasticsearch-indices.frankkoornstra.nl
spec:
group: frankkoornstra.nl
version: v1alpha1
scope: Namespaced
preserveUnknownFields: false
names:
plural: elasticsearch-indices
singular: elasticsearch-index
kind: ElasticsearchIndex
categories: [elasticsearch]
validation:
openAPIV3Schema:
type: object
properties:
spec:
type: object
required: [definition]
properties:
hosts:
type: array
description: List of hosts names which can include scheme, host name and port.
items:
type: string
nullable: false
pattern: "^\\S+$"
definition:
type: object
description: A valid index definition as described in the documentation of Elasticsearch
properties:
settings:
type: object
aliases:
type: object
mappings:
type: object