kind: ConfigMap
apiVersion: v1
metadata:
  name: busola-web-config
data:
  config.json: >
    {
      "config": {
        "defaultStorage": "localStorage",
        "features":{
            "INIT_PARAMS": {
              "isEnabled": false
            },
            "SENTRY": {
              "isEnabled": true,
              "selectors": [],
              "config": {
                "dsn": ""
              }
            },
            "SERVICE_CATALOG":{
              "selectors":[
                  {
                    "type":"apiGroup",
                    "apiGroup":"servicecatalog.k8s.io"
                  }
              ]
            },
            "BTP_CATALOG":{
              "selectors":[
                  {
                    "type":"apiGroup",
                    "apiGroup":"services.cloud.sap.com"
                  }
              ]
            },
            "SERVICE_CATALOG_ADDONS":{
              "selectors":[
                  {
                    "type":"apiGroup",
                    "apiGroup":"servicecatalog.kyma-project.io"
                  }
              ]
            },
            "EVENTING":{
              "selectors":[
                  {
                    "type":"apiGroup",
                    "apiGroup":"eventing.kyma-project.io"
                  }
              ]
            },
            "API_GATEWAY":{
              "selectors":[
                  {
                    "type":"apiGroup",
                    "apiGroup":"gateway.kyma-project.io"
                  }
              ]
            },
            "APPLICATIONS":{
              "selectors":[
                  {
                    "type":"apiGroup",
                    "apiGroup":"applicationconnector.kyma-project.io"
                  }
              ]
            },
            "ADDONS":{
              "selectors":[
                  {
                    "type":"apiGroup",
                    "apiGroup":"addons.kyma-project.io"
                  }
              ]
            },
            "SERVERLESS":{
              "selectors":[
                  {
                    "type":"apiGroup",
                    "apiGroup":"serverless.kyma-project.io"
                  }
              ]
            },
            "CUSTOM_DOMAINS": {
              "selectors":[
                {
                  "type": "apiGroup",
                  "apiGroup": "dnsproviders.dns.gardener.cloud"
                }
              ]
            },
            "OBSERVABILITY": {
              "isEnabled": true,
              "config": {
                "links": [
                  {
                    "label": "Grafana",
                    "path": "apis/networking.istio.io/v1beta1/namespaces/kyma-system/virtualservices/monitoring-grafana"
                  },
                  {
                    "label": "Kiali",
                    "path": "apis/networking.istio.io/v1beta1/namespaces/kyma-system/virtualservices/kiali"
                  },
                  {
                    "label": "Tracing",
                    "path": "apis/networking.istio.io/v1beta1/namespaces/kyma-system/virtualservices/tracing"
                  }
                ]
              }
            }
        }
      }
    }
