-
Notifications
You must be signed in to change notification settings - Fork 0
/
crd-template.yaml
34 lines (34 loc) · 986 Bytes
/
crd-template.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
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
name: elasticsearch-templates.frankkoornstra.nl
spec:
group: frankkoornstra.nl
version: v1alpha1
scope: Namespaced
preserveUnknownFields: false
names:
plural: elasticsearch-templates
singular: elasticsearch-template
kind: ElasticsearchTemplate
categories: [elasticsearch]
subresources:
status: {}
validation:
openAPIV3Schema:
type: object
properties:
spec:
type: object
required: [hosts, 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 definition as described in the documentation of Elasticsearch