-
Notifications
You must be signed in to change notification settings - Fork 10
/
console-extensions.json
52 lines (52 loc) · 1.39 KB
/
console-extensions.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
/**
* This file declares all extensions contributed by the plugin.
*
* Depending on extension 'type', the 'properties' object may contain code references, encoded
* as object literals { $codeRef: string }. The '$codeRef' value should be formatted as either
* 'moduleName.exportName' (referring to a named export) or 'moduleName' (referring to the
* 'default' export). Only the plugin's exposed modules may be used in code references.
*
* TODO: update properties.name and properties.href
*/
[
{
"properties": {
"handler": { "$codeRef": "gitopsFlags.enableGitOpsDynamicFlag" }
},
"type": "console.flag"
},
{
"type": "console.navigation/href",
"properties": {
"id": "gitops-environment",
"perspective": "dev",
"section": "resources",
"insertAfter": "pipelines",
"insertBefore": "helm",
"name": "%plugin__gitops-plugin~Environments%",
"href": "/envdynamic",
"dataAttributes": {
"data-test-id": "envdynamic-header"
}
},
"flags": {
"required": ["OPENSHIFT"]
}
},
{
"type": "console.page/route",
"properties": {
"component": { "$codeRef": "environments" },
"exact": true,
"path": "/envdynamic"
}
},
{
"type": "console.page/route",
"properties": {
"component": { "$codeRef": "detailsPage" },
"exact": false,
"path": "/envdynamic/:appName"
}
}
]