Add admin panel API with CRUD for apps

- Express.js backend with JWT authentication
- CRUD endpoints for apps management
- Health check endpoint
- Dockerfile per admin API (Node 18 Alpine)
- Kubernetes: admin-api deployment, service, ingress
- Admin panel at http://admin.apps.local
- Updated nginx.conf to route /api to admin API
- Fixed ingress rules for separate web and admin services
This commit is contained in:
capitano
2026-03-18 23:01:42 +01:00
parent 533cbed8d3
commit e89989e1d9
17 changed files with 857 additions and 7 deletions

View File

@@ -14,3 +14,24 @@ spec:
targetPort: 80
protocol: TCP
name: http
- port: 3000
targetPort: 3000
protocol: TCP
name: admin-api
---
apiVersion: v1
kind: Service
metadata:
name: admin-api-service
namespace: linuxwebapp
labels:
app: admin-api
spec:
type: ClusterIP
selector:
app: linux-app-store
ports:
- port: 3000
targetPort: 3000
protocol: TCP
name: admin-api