feat: add custom domain support with SSL, DNS verification, and billing
Users can assign a custom domain to their app with automatic SSL via cert-manager. Includes DNS verification flow (CNAME check), Persian instructions, admin-configurable pricing via PlatformSetting, and integration into the deploy wizard cost calculation. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -24,8 +24,23 @@ spec:
|
||||
name: {{ $name }}
|
||||
port:
|
||||
number: 80
|
||||
{{- if .Values.ingress.customDomain }}
|
||||
- host: {{ .Values.ingress.customDomain }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ $name }}
|
||||
port:
|
||||
number: 80
|
||||
{{- end }}
|
||||
tls:
|
||||
- hosts:
|
||||
- {{ $host }}
|
||||
{{- if .Values.ingress.customDomain }}
|
||||
- {{ .Values.ingress.customDomain }}
|
||||
{{- end }}
|
||||
secretName: {{ $name }}-tls
|
||||
{{- end }}
|
||||
|
||||
@@ -30,6 +30,7 @@ ingress:
|
||||
subdomain: "" # <subdomain>.<domain>
|
||||
domain: "apps.cloudhost.ir"
|
||||
clusterIssuer: letsencrypt-prod
|
||||
customDomain: "" # Optional custom domain (e.g. "www.example.com")
|
||||
|
||||
# ── Database (MySQL or PostgreSQL) ───────────────────────
|
||||
database:
|
||||
|
||||
Reference in New Issue
Block a user