sapcc / juno

Monorepo for the Juno microfrontend framework, microfrontend apps, design system and component library
Apache License 2.0
5 stars 3 forks source link

[greenhouse-mgmt] Create PluginConfig plugin #539

Open edda opened 4 months ago

edda commented 4 months ago

Create a "PluginAdmin" plugin for the greenhouse management area which will show installed/configured plugins and available (not yet installed/configured) plugins. Eventually this plugin will also allow de-/activation and configuration of plugins.

First steps:

Plugin first steps:

ArtieReus commented 4 months ago

This is the way how to retrieve the exposedServices from the plugin configs:

kc greenhouse-qa
kn ccloud
k get pluginconfig kube-moni-ext -o json

{
    "apiVersion": "greenhouse.sap/v1alpha1",
    "kind": "PluginConfig",
    ...
    "status": {
        "description": "Native deployment and management of Prometheus along with Kubernetes cluster monitoring components.",
        "exposedServices": {
            "https://kube-moni-ext-prometheus--ccloud--monitoring.ccloud.greenhouse-qa.eu-nl-1.cloud.sap": {
                "name": "kube-moni-ext-prometheus",
                "namespace": "ccloud",
                "port": 9090
            }
        },
        ...
    }
}