Skip to content

Commit

Permalink
Enable custom extensions: example (#3571)
Browse files Browse the repository at this point in the history
  • Loading branch information
pbochynski authored Jan 8, 2025
1 parent 47f2d69 commit 67f841c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
8 changes: 7 additions & 1 deletion examples/custom-extension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ This example contains a basic custom extension that queries all deployments of a

To set up and deploy your own custom Busola extension, follow these steps.

1. Adjust the static HTML content.
1. Enable custom extensions in your cluster:

```
kubectl apply -f busola-config.yaml
```

2. Adjust the static HTML content.

Edit the `ui.html` file to define the static HTML content for your custom extension.

Expand Down
11 changes: 11 additions & 0 deletions examples/custom-extension/busola-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
kind: ConfigMap
apiVersion: v1
metadata:
name: busola-config
namespace: kube-public
data:
config: |
config:
features:
EXTENSIBILITY_CUSTOM_COMPONENTS:
isEnabled: true

0 comments on commit 67f841c

Please sign in to comment.