Installing the Kyverno Permissions Backend Plugin#
This guide will help you install and set up the Kyverno Permissions backend plugin in your Backstage instance.
Prerequisites#
Before installing the plugin, ensure you have:
- A working Backstage backend
- Kyverno installed in your Kubernetes cluster(s)
- Access to modify your Backstage backend configuration
Installation Steps#
1. Add the Package#
Install the plugin package using yarn:
2. Add to Backend#
Add the plugin to your backend (typically packages/backend/src/index.ts
):
Verification#
After installation, verify that:
- The plugin appears in your package.json dependencies
- The backend starts without errors
- Permission endpoints are accessible
- Integration with the frontend plugin works correctly
Troubleshooting#
Common issues and solutions:
-
Backend Startup Issues
- Check the backend logs for errors
- Verify the plugin import statement
- Ensure all dependencies are installed
-
Permission Framework Issues
- Confirm the permission framework is enabled
- Check permission policy configuration
- Verify integration with frontend components
For configuration options and customization, proceed to the Configuration Guide.