Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
commander-deploy
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpd
commander-deploy
Commits
ff74024d
Commit
ff74024d
authored
Oct 14, 2025
by
李辉02
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(挂载域名): commander-web
parent
f6d10e8c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
README.md
charts/commander-web/README.md
+1
-0
ingress.yaml
charts/commander-web/templates/ingress.yaml
+6
-4
values.yaml
charts/commander-web/values.yaml
+1
-2
No files found.
charts/commander-web/README.md
View file @
ff74024d
...
...
@@ -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
```
## 查询
...
...
charts/commander-web/templates/ingress.yaml
View file @
ff74024d
...
...
@@ -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
}}
charts/commander-web/values.yaml
View file @
ff74024d
...
...
@@ -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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment