The pizzas
example showcases Busola's extensibility feature.
The configuration
directory consists of two CustomResourceDefinitions (CRDs) and two ConfigMaps that store the information about the extensibility configuration.
The samples
directory includes YAML files with examples of the above CRDs.
To test the extensibility feature using the Pizzas example, upload all the YAML files from the configuration
and samples
directories to your cluster. Follow the steps:
-
Access your cluster using kubectl. Download kubeconfig.yaml from the SAP BTP cockpit and export it in your terminal:
export KUBECONFIG={KUBECONFIG_FILE_PATH}
-
In the terminal, go to
/busola/examples/pizzas
. -
Create the
pizzas
namespace and apply the ConfigMaps and CRDs:kubectl create namespace pizzas && kubectl apply -f configuration/ --recursive
-
Apply the samples:
kubectl apply -f samples/ --recursive
After uploading the files, refresh the browser. You should see the new items in the left-side navigation.
On the cluster level, in the Extensions section, you can find the two applied ConfigMaps, pizzaorders
and pizzas
. You can see the configuration details in the General, Form Fields, List Columns, Details View, Data Sources, or Translation sections taken from the configuration
directory.
Go to Namespaces to find the newly created pizzas
namespace. Go into the namespace and in the left-side navigation, in the Lunch category, check out two UI components: Pizza Orders and Pizzas with all the details taken from the samples
directory.