A modern web application for generating Kubernetes RBAC configurations and kubeconfig files with a beautiful, user-friendly interface.
The application provides an intuitive . interface for managing Kubernetes access:
- Role Generator: Create fine-grained RBAC roles with specific permissions
- Kubeconfig Generator: Generate kubeconfig files for service accounts
- Resource Selection: Choose from a comprehensive list of Kubernetes resources
- Permission Management: Select specific verbs for each resource
- 🔐 Role Generator: Create Kubernetes RBAC roles with fine-grained permissions
- 📄 Kubeconfig Generator: Generate kubeconfig files for service accounts
- 🎯 Resource-specific Permissions: Control access to specific Kubernetes resources
- 📊 Namespace Support: Generate configurations for specific namespaces
- 🎨 Modern UI: Beautiful and intuitive user interface with Material-UI
- ⚡ Fast & Responsive: Built with React and Vite for optimal performance
- Core Resources: Pods, Services, ConfigMaps, Secrets, etc.
- Apps: Deployments, StatefulSets, DaemonSets, ReplicaSets
- Networking: Ingresses, NetworkPolicies
- RBAC: Roles, ClusterRoles, RoleBindings
- Other: HorizontalPodAutoscalers, PodDisruptionBudgets, PersistentVolumes
- Node.js 18+ for frontend
- Python 3.8+ for backend
- Kubernetes cluster for deployment (optional)
- Clone the repository:
git clone https://github.com/yourusername/kubernetes-access-manager.git
cd kubernetes-access-manager
- Start the development environment:
./start-dev.sh
This will start both the frontend and backend servers:
- Frontend: http://localhost:5173
- Backend: http://localhost:5005
cd frontend
npm install
npm run dev
cd backend
python -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate
pip install -r requirements.txt
python app.py
VITE_API_BASE_URL
: Backend API URL (default: http://localhost:5005)
FLASK_ENV
: Development/production environmentFLASK_APP
: Application entry pointKUBERNETES_SERVICE_HOST
: Kubernetes API server host (optional)KUBERNETES_SERVICE_PORT
: Kubernetes API server port (optional)
Build and run the containers:
# Build images
docker build -t kubernetes-access-manager-frontend ./frontend
docker build -t kubernetes-access-manager-backend ./backend
# Run containers
docker-compose up -d
The application can be deployed to Kubernetes using the provided Helm chart:
helm install kubernetes-access-manager ./helm/kubernetes-access-manager
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with React
- Styled with Material-UI
- Powered by Vite
- Backend with Flask