fix(gitops): adopt standalone apisix chart update

This commit is contained in:
Haitao Pan 2026-04-02 16:05:15 +08:00
parent 010b628c13
commit 7278bad9f2
3 changed files with 29 additions and 5 deletions

View File

@ -13,4 +13,4 @@ spec:
name: platform-config
path: ./infra/platform/external-dns
dependsOn:
- name: platform-secrets-stack
- name: platform-stack

View File

@ -7,7 +7,7 @@ spec:
interval: 10m0s
url: oci://ghcr.io/x-evor/k3s-platform-chart
ref:
semver: "0.1.0"
semver: "0.1.1"
layerSelector:
mediaType: application/vnd.cncf.helm.chart.content.v1.tar+gzip
operation: copy

View File

@ -40,16 +40,40 @@ components:
dashboard:
enabled: false
gateway:
enabled: true
type: ClusterIP
control:
enabled: false
apisix:
deployment:
mode: standalone
role: traditional
role_traditional:
config_provider: yaml
standalone:
enabled: true
standalone:
config: |
routes:
- id: 1
uri: "/*"
hosts:
- api.svc.plus
name: api-gateway-prod
upstream:
type: roundrobin
nodes:
"accounts.core-prod.svc.cluster.local:80": 1
- id: 2
uri: "/*"
hosts:
- api-pre.svc.plus
name: api-gateway-pre
upstream:
type: roundrobin
nodes:
"accounts.core-pre.svc.cluster.local:80": 1
#END
admin:
enabled: false
enabled: true
vault:
enabled: true
releaseName: vault