forked from janus-idp/helm-backstage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.schema.tmpl.json
198 lines (198 loc) · 9.1 KB
/
values.schema.tmpl.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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/janus-idp/helm-backstage/main/charts/backstage/values.schema.json",
"type": "object",
"title": "Root Schema",
"properties": {
"upstream": {
"title": "Upstream Backstage chart schema.",
"$ref": "https://raw.githubusercontent.com/backstage/charts/backstage-{{ dependencies | selectattr('name', 'equalto', 'backstage') | map(attribute='version') | list | join('') }}/charts/backstage/values.schema.json",
"default": {
"backstage": {
"image": {
"registry": "quay.io",
"repository": "janus-idp/redhat-backstage-build",
"tag": "latest"
}
}
}
},
"global": {
"type": "object",
"properties": {
"clusterRouterBase": {
"title": "Shorthand for users who do not want to specify a custom HOSTNAME. Used ONLY with the DEFAULT upstream.backstage.appConfig value and with OCP Route enabled.",
"type": "string",
"default": "apps.example.com"
},
"host": {
"title": "Custom hostname shorthand, overrides `global.clusterRouterBase`, `upstream.ingress.host`, `route.host`, and url values in `upstream.backstage.appConfig`",
"type": "string",
"default": ""
},
"dynamic": {
"title": "Dynamic plugins configuration.",
"type": "object",
"additionalProperties": false,
"properties": {
"plugins": {
"title": "List of dynamic plugins that should be installed in the backstage application.",
"type": "array",
"items": {
"type": "object",
"properties": {
"package": {
"title": "Package specification of the dynamic plugin to install. It should be usable by the `npm pack` command.",
"type": "string"
},
"integrity": {
"title": "Integrity checksum of the package. Optional for local packages. Supported algorithms include: `sha512`, `sha384` and `sha256`. Refer to https://w3c.github.io/webappsec-subresource-integrity/#integrity-metadata-description for more information",
"type": "string"
},
"pluginConfig": {
"title": "Optional plugin-specific app-config YAML fragment.",
"type": "object"
},
"disabled": {
"title": "Disable the plugin.",
"type": "boolean",
"default": false
}
},
"required": ["package"]
}
},
"includes": {
"title": "List of YAML files to include, each of which should contain a `plugins` array.",
"type": "array",
"items": {
"type": "string"
},
"default": []
}
}
},
"auth": {
"title": "Enable service authentication within Backstage instance",
"type": "object",
"additionalProperties": false,
"properties": {
"backend": {
"title": "Backend service to service authentication",
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"title": "Enable backend service to service authentication, unless configured otherwise it generates a secret value",
"type": "boolean",
"default": true
},
"existingSecret": {
"title": "Instead of generating a secret value, refer to existing secret",
"type": "string",
"default": ""
},
"value": {
"title": "Instead of generating a secret value, use fo;lowing value",
"type": "string",
"default": ""
}
}
}
}
}
}
},
"route": {
"title": "OpenShift Route parameters.",
"type": "object",
"additionalProperties": false,
"properties": {
"annotations": {
"title": "Route specific annotations.",
"type": "object",
"default": {}
},
"enabled": {
"title": "Enable the creation of the route resource.",
"type": "boolean",
"default": false
},
"host": {
"title": "Set the host attribute to a custom value.",
"type": "string",
"default": "",
"examples": [
"https://bakstage.example.com"
]
},
"path": {
"title": "Path that the router watches for, to route traffic for to the service.",
"type": "string",
"default": "/"
},
"wildcardPolicy": {
"title": "Wildcard policy if any for the route.",
"type": "string",
"default": "None",
"enum": [
"None",
"Subdomain"
]
},
"tls": {
"title": "Route TLS parameters.",
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"title": "Enable TLS configuration for the host defined at `route.host` parameter.",
"type": "boolean",
"default": false
},
"termination": {
"title": "Specify TLS termination.",
"type": "string",
"default": "edge",
"enum": [
"edge",
"reencrypt",
"passthrough"
]
},
"certificate": {
"title": "Certificate contents.",
"type": "string",
"default": ""
},
"key": {
"title": "Key file contents.",
"type": "string",
"default": ""
},
"caCertificate": {
"title": "Cert authority certificate contents.",
"type": "string",
"default": ""
},
"destinationCACertificate": {
"title": "Contents of the ca certificate of the final destination.",
"type": "string",
"default": ""
},
"insecureEdgeTerminationPolicy": {
"title": "Indicates the desired behavior for insecure connections to a route.",
"type": "string",
"default": "Redirect",
"enum": [
"Redirect",
"None",
""
]
}
}
}
}
}
}
}