Commit ff74024d by 李辉02

feat(挂载域名): commander-web

parent f6d10e8c
......@@ -36,6 +36,7 @@ helm install commander-web k8s-t0-commander/commander-web -n commander-standard-
# 预检
helm install commander-web k8s-t0-commander/commander-web -n commander-standard-dev --dry-run
helm install commander-web . -n commander-standard-dev --dry-run
```
## 查询
......
......@@ -24,11 +24,12 @@ spec:
number: {{ index .Values.global .Chart.Name "port" }}
path: /
pathType: Prefix
{{- if $ingress.loadBalancerHostname }}
tls:
- hosts:
- {{ $ingress.host | default .Values.global.app.webHost }}
secretName: aipark-2025
status:
loadBalancer:
ingress:
- hostname: {{ $ingress.loadBalancerHostname }}
- hostname: {{ index .Values.global .Chart.Name "ingress" "loadBalancerHostname" }}
{{- end }}
\ No newline at end of file
{{- end }}
......@@ -13,7 +13,7 @@ global:
namespace: commander-standard-dev
replicas: 1
imageUrl: k8s-t0.tencentcloudcr.com/commander/
webHost: "commander-web.example.com" # Web 前端域名
webHost: "commander-web.aipark.com" # Web 前端域名
profiles_active: "prod"
# ------------------------------------------------------------------------------
commander-web:
......@@ -24,5 +24,4 @@ global:
className: "nginx"
annotations:
nginx.ingress.kubernetes.io/use-regex: "true"
host: "" # 留空则使用 global.app.webHost
loadBalancerHostname: "lb-rj9u1163-hsf9r24l80bc1zov.clb.bj-tencentclb.net"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment