Skip to content

Feature Flags ​

To configure Busola, override the default values of its defaultConfig.yaml file.

Features Priority ​

Initialization of the Busola features is based on the stage property, which can take one of the following values:

  • PRIMARY - the feature is resolved while the application bootstraps. Features that must be immediately visible must be set as PRIMARY, for example, the main navigation structure.
  • SECONDARY - the feature is resolved after the application is ready, it must be used for non-critical features, for example, additional navigation nodes.

If the stage property is not set, the feature is loaded only on demand, most often by an iframe. Use the useFeature hook to request usage of such a feature.

NOTE

Some features must be run before the application starts the bootstrap process, so they are out of the ordinary feature flow.

Configurable Flags for Frontend ​

TIP

The list is in alphabetical order.

This table lists the frontend configurable feature flags, their descriptions, and default values.

Feature flagDescriptionDefault value
EXTENSIBILITYIndicates whether the Busola extensibility feature is enabled.isEnabled: true
EXTENSIBILITY_CUSTOM_COMPONENTSIndicates whether any custom extensions can be added to Busola. See Set Up Your Custom Busola Extension.isEnabled: false
EXTENSIBILITY_INJECTIONSIndicates whether extensibility injections can be added to Busola. For more information, see Widget Injection.isEnabled: true
EXTERNAL_NODESProvides a list of links to external websites. category: a category name, icon: an optional icon, scope: either namespace or cluster (defaults to cluster), children: a list of pairs (label and link).
  • isEnabled: true
  • stage: SECONDARY
  • nodes.category: My Category
  • nodes.icon: course-book
  • nodes.scope: cluster
  • nodes.children.label: Example Node Label
  • nodes.children.link: https://github.com/kyma-project/busola
FEEDBACKDetermines whether the feedback icon, which redirects the user to the survey, is displayed in the top bar.
  • isEnabled: true
  • config.link: https://www.survey.com
GET_HELP_LINKSShows or hides helper links. In config, you can find the unchangeable keys (for example, you cannot use helpSapCom instead of help-sap-com). The keys include the default link, which takes you to the default address.
  • config.kyma-project-io.default: https://kyma-project.io
  • config.help-sap-com.default: https://help.sap.com
HIDDEN_NAMESPACESDefines a list of namespaces that are considered system and are hidden by default.
  • isEnabled: true
  • config.namespaces: kube-system
KUBECONFIG_IDConfigures the URL to which Busola sends a request to download a kubeconfig file. If you add ?kubeconfigID={your ID} to the Busola URL, Busola tries to download the kubeconfig from {kubeconfigUrl}/{yourID}. If the operation succeeds, Busola adds the kubeconfig file to the cluster. If you use a full address in the kubeconfigUrl field, Busola also reads it. With the optional showClustersOverview you can instruct Busola to show Clusters Overview rather than the current context cluster, after the clusters are loaded. defaultKubeconfig defines the optional default KUBECONFIG_ID to load this kubeconfig when you visit Busola homepage / and there are no saved clusters in the application.
  • isEnabled: true
  • config.kubeconfigUrl: https://kyma-env-broker.cp.dev.kyma.cloud.sap/kubeconfig
  • config.showClustersOverview: false
  • config.defaultKubeconfig: AAAAA-BBBBB
LEGAL_LINKSShows or hides legal links. In config, you can find the unchangeable keys (you cannot use legalDisclosure instead of legal-disclosure). The keys include both the default link, which takes you to the default address, and a link that depends on your chosen language. The link under the given key is selected based on your language code (de, en, pl, and more). If the code is not available, the default link is used.
  • config.legal-disclosure.default: https://www.sap.com/corporate/en/legal/impressum.html
  • config.legal-disclosure.de: https://www.sap.com/corporate/de/legal/impressum.html
  • config.privacy.default: https://help.sap.com/viewer/82bdf2271c6041f79387c122147cf774/Cloud/en-US
  • config.copyright.default: https://www.sap.com/corporate/en/legal/copyright.html
  • config.copyright.de: https://www.sap.com/corporate/de/legal/copyright.html
  • config.trademark.default: https://www.sap.com/corporate/en/legal/trademark.html
  • config.trademark.de: https://www.sap.com/corporate/de/legal/trademark.html
PROTECTED_RESOURCESBlocks the edit and delete functions based on the determined rules. If the resource meets the rule requirements, the resource becomes protected and cannot be edited/deleted. Each resource requires the match field, which includes a list of key-value pairs. The proper rule description is when the definition given in the key matches the value. To switch comparison mode from standard to regex, set the regex parameter to true. Optionally, you can provide the message parameter, which displays a simple message, or messageSrc, which is a YAML path where the message to be displayed is included. If neither message nor messageSrc is provided, a generic message is used.
  • isEnabled: true
  • config.resources.match: { $.metadata.labels.foo: bar}
  • config.resources.message: This resource is protected
  • config.resources.match: { $.metadata.labels.foo: bar, $.metadata.labels.baz: qux }
  • config.resources.messageSrc: $.metadata.annotations.protected-message
  • config.resources.match: { $.metadata.labels.foo: ^[a-zA-Z0-9]$ }
  • config.resources.regex: true
RESOURCE_VALIDATIONDetermines the selected policies for resource validation. They can be overwritten in the user settings.
  • isEnabled: true
  • config.policies: Default
SENTRYEnables monitoring of uncaught exceptions, which are then analyzed and repaired. The address to which you send the information is located under the dsn key.
  • isEnabled: false
  • config.dsn: ''
SNOWDetermines if the snow animation is enabled in Busola.isEnabled: false

Configurable Flags for Backend ​

NOTE

Backend features cannot be modified at the cluster ConfigMap level.

Feature flagDescriptionDefault value
GZIPIndicates whether responses from the backend server should be compressed.isEnabled: true