This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
values.schema.json
150 lines (147 loc) · 5.84 KB
/
values.schema.json
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/eshepelyuk/apicurio-registry-helm-chart",
"title": "Apicurio Registry Helm values",
"definitions": {
"isEnabled": {
"type": "boolean", "title": "should be installed" , "default": true
},
"dockerImage": {
"type": "object", "title": "docker image settings",
"required": ["registry", "repository", "tag"],
"properties": {
"registry": {"type": "string", "default": "quay.io"},
"repository": {"type": "string"},
"tag": {"type": "string"},
"persistenceSuffix": {
"type": "boolean", "title": "Autodetect image suffix based on persistence type" , "default": true
}
}
},
"podResources": {
"type": "object", "title": "pod resources",
"additionalProperties": false,
"properties": {
"limits": {
"type": "object"
},
"requests": {
"type": "object"
}
}
},
"podSecurityContext": {
"type": "object",
"title": "The pod securityContext Schema",
"properties": {}
},
"securityContext": {
"type": "object",
"title": "The container securityContext Schema",
"properties": {}
},
"persistence": {
"kafka": {
"type": "object", "additionalProperties": false,
"required": ["bootstrapServers"],
"properties": {
"bootstrapServers": {"type": "string"}
}
},
"sql": {
"type": "object", "additionalProperties": false,
"required": ["url", "username", "password"],
"properties": {
"url": {"type": "string"},
"username": {"type": "string"},
"password": {"type": "string"}
}
}
},
"initContainers": {
"type": "array", "default": []
},
"volumeMounts": {
"type": "array", "default": []
},
"imagePullSecrets": {
"type": "array", "default": []
},
"volumes": {
"type": "array", "default": []
},
"labels": {
"type": "object", "default": {}
},
"ingress": {
"type": "object", "title": "ingress resource for registry",
"required": ["enabled", "host", "path"],
"properties": {
"enabled": {"type": "boolean", "default": false, "title": "enable ingress resource"},
"ingressClassName": {"type": "string", "default": "", "title": "set ingress controller used for this ingress rule"},
"host": {"type": "string", "default": "apicurio.local", "title": "hostname"},
"path": {"type": "string", "default": "/", "title": "ingress path"},
"tls": {"type": "boolean", "default": false, "title": "enable TLS for ingress host",
"description": "if TLS enabled the certificate is retrieved from secret with the same name as ingress host"},
"annotations": {"type": "object", "default": {}, "title": "ingress resource annotations"},
"labels": {"type": "object", "default": {}, "title": "ingress resource labels"}
}
}
},
"type": "object",
"properties": {
"registry": {
"type": "object", "title": "registry settings",
"required": ["enabled", "image", "resources", "ingress"],
"additionalProperties": false,
"properties": {
"enabled": {"$ref": "#/definitions/isEnabled"},
"image": {"$ref": "#/definitions/dockerImage"},
"nodeSelector": {"type": "object", "title": "node selector for registry"},
"initContainers": {"$ref": "#/definitions/initContainers", "title": "init containers for registry"},
"extraEnv": {
"type": "array",
"title": "extra environment variables for registry",
"default": [],
"items": {
"type": "object",
"required": ["name"],
"properties": {
"name": {
"type": "string"
}
}
}
},
"resources": {"$ref": "#/definitions/podResources"},
"extraVolumeMounts": {"$ref": "#/definitions/volumeMounts", "title": "extra volume mounts for registry"},
"extraVolumes": {"$ref": "#/definitions/volumes", "title": "extra volumes for registry"},
"kafka": {"$ref": "#/definitions/persistence/kafka"},
"sql": {"$ref": "#/definitions/persistence/sql"},
"imagePullSecrets": {"$ref": "#/definitions/imagePullSecrets"},
"ingress": {"$ref": "#/definitions/ingress"},
"extraLabels": {"$ref": "#/definitions/labels", "title": "deployment and pod resources labels for registry"},
"podSecurityContext": {"$ref": "#/definitions/podSecurityContext"},
"securityContext": {"$ref": "#/definitions/securityContext"}
}
},
"sync": {
"type": "object", "title": "registry content sync settings",
"required": ["enabled", "image", "resources"],
"properties": {
"enabled": {"$ref": "#/definitions/isEnabled"},
"image": {"$ref": "#/definitions/dockerImage"},
"imagePullSecrets": {"$ref": "#/definitions/imagePullSecrets"},
"nodeSelector": {"type": "object", "title": "node selector for registry content sync"},
"initContainers": {"$ref": "#/definitions/initContainers", "title": "init containers for registry content sync"},
"resources": {"$ref": "#/definitions/podResources"},
"extraVolumeMounts": {"$ref": "#/definitions/volumeMounts", "title": "extra volume mounts for registry content sync"},
"extraVolumes": {"$ref": "#/definitions/volumes", "title": "extra volumes for registry content sync"},
"registryUrl": {"type": ["null", "string"], "default": null},
"extraLabels": {"$ref": "#/definitions/labels", "title": "deployment and pod resources labels for sync"},
"podSecurityContext": {"$ref": "#/definitions/podSecurityContext"},
"securityContext": {"$ref": "#/definitions/securityContext"}
}
}
}
}