-
Edit the
console-extensions.json
file:[ { "type": "console.flag", (1) "properties": { "handler": { "$codeRef": "barUtils.testHandler" } (2) } }, { "type": "console.flag/model", "properties": { "flag": "EXAMPLE", "model": { "group": "kubevirt.io", "version": "v1alpha3", "kind": "ExampleModel" } } } ]
-
Add the extension type(s) you want to include with this plug-in. You can include multiple extensions separated with a comma.
-
The
$codeRef
value should be formatted as eithermoduleName.exportName
for a named export ormoduleName
for the default export. Only the plug-in’s exported modules can be used in code references.
-