基本框架
This commit is contained in:
25
ansible/files/traefik-custom-ports/traefik-custom-ports.yaml
Normal file
25
ansible/files/traefik-custom-ports/traefik-custom-ports.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
apiVersion: helm.cattle.io/v1
|
||||
kind: HelmChartConfig
|
||||
metadata:
|
||||
name: traefik
|
||||
namespace: kube-system
|
||||
spec:
|
||||
valuesContent: |-
|
||||
ports:
|
||||
web:
|
||||
expose: true
|
||||
websecure:
|
||||
expose: true
|
||||
# 自定义 HTTP 入口(示例 18080)
|
||||
web18080:
|
||||
port: 18080
|
||||
expose:
|
||||
default: true
|
||||
exposedPort: 18080
|
||||
# 自定义 HTTPS 入口(示例 18443)
|
||||
websecure18443:
|
||||
port: 18443
|
||||
expose:
|
||||
default: true
|
||||
exposedPort: 18443
|
||||
Reference in New Issue
Block a user