Add naas-portal Helm chart for K8s deployment #232
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "naas-portal-k8s"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 21: Migrate PaaS portal from Docker to K8s with Helm chart, Ingress, TLS, RBAC.
AI Code Review
Review: naas-portal K8s Migration
✅ Strengths
🔴 Critical Issues
1. Missing secret creation
naas-portal-secretswith 5 keys (gitea-token, gitea-admin-token, keycloak-client-secret, keycloak-admin-password, secret-key)templates/secret.yamlOR document manual creation + external-secrets/Kyverno sealing requirement2. Replica count = 1
replicaCount: 2+ PodDisruptionBudget3. Missing TopologySpreadConstraints
🟡 Minor Issues
4. Ingress port mismatch
port: 80, DeploymentcontainerPort: 8080port: 80(correct)5. Resource requests may be tight
256Mi, limit to768Mi6. PVC not auto-mounted
volumeBindingMode: WaitForFirstConsumer)longhornstorage class is properly configured7. Missing HPA
8. KEYCLOAK_ADMIN_PASSWORD in env
envsection in values.yaml; ensure Deployment pulls from Secret only📋 Recommendations (non-blocking)
PodDisruptionBudget(minAvailable: 1)kubectl create secret generic naas-portal-secrets -n prod --from-literal=gitea-token=...prodnamespaceStatus: ⚠️ Request Changes — Secret handling + HPA + topology spread required before merge.
Automated review by Claude Haiku | advisory, does not block merge