forked from janus-idp/helm-backstage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.schema.tmpl.json
127 lines (127 loc) · 5.26 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
{
"$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": ""
}
}
},
"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",
""
]
}
}
}
}
}
}
}