diff --git a/infra/clusters/prod/platform-services-kustomization.yaml b/infra/clusters/prod/platform-services-kustomization.yaml index 4372d37..5311926 100644 --- a/infra/clusters/prod/platform-services-kustomization.yaml +++ b/infra/clusters/prod/platform-services-kustomization.yaml @@ -13,4 +13,4 @@ spec: name: platform-config path: ./infra/platform/external-dns dependsOn: - - name: platform-secrets-stack + - name: platform-stack diff --git a/infra/platform/k3s-platform/oci-repository.yaml b/infra/platform/k3s-platform/oci-repository.yaml index 41a01f8..e535e71 100644 --- a/infra/platform/k3s-platform/oci-repository.yaml +++ b/infra/platform/k3s-platform/oci-repository.yaml @@ -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 diff --git a/infra/platform/k3s-platform/values.yaml b/infra/platform/k3s-platform/values.yaml index 87fa6bd..adf67c7 100644 --- a/infra/platform/k3s-platform/values.yaml +++ b/infra/platform/k3s-platform/values.yaml @@ -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