diff --git a/charts/aisix-cp/Chart.yaml b/charts/aisix-cp/Chart.yaml index 11a7470..81f0c85 100644 --- a/charts/aisix-cp/Chart.yaml +++ b/charts/aisix-cp/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: aisix-cp description: Helm chart for AISIX control plane (cp-api, dp-manager, dashboard) type: application -version: 0.7.0 -appVersion: "0.7.0" +version: 0.7.1 +appVersion: "0.7.1" maintainers: - name: API7 diff --git a/charts/aisix-cp/README.md b/charts/aisix-cp/README.md index cdb3393..54c7db9 100644 --- a/charts/aisix-cp/README.md +++ b/charts/aisix-cp/README.md @@ -1,6 +1,6 @@ # aisix-cp -![Version: 0.7.0](https://img.shields.io/badge/Version-0.7.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.0](https://img.shields.io/badge/AppVersion-0.7.0-informational?style=flat-square) +![Version: 0.7.1](https://img.shields.io/badge/Version-0.7.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.1](https://img.shields.io/badge/AppVersion-0.7.1-informational?style=flat-square) Helm chart for AISIX control plane (cp-api, dp-manager, dashboard) diff --git a/charts/aisix-cp/templates/dpm-deployment.yaml b/charts/aisix-cp/templates/dpm-deployment.yaml index b32664d..13a4af7 100644 --- a/charts/aisix-cp/templates/dpm-deployment.yaml +++ b/charts/aisix-cp/templates/dpm-deployment.yaml @@ -51,6 +51,13 @@ spec: value: ":7944" - name: AISIX_DPMGR_HEALTH_LISTEN value: {{ .Values.dpm.service.healthListen | quote }} + {{- if .Values.api.dpmgrBaseURL }} + # Same value cp-api bakes into the install snippet: dp-manager + # seeds its TLS server cert SANs from this host, so a DP that + # dials the CP by IP can complete the handshake (#1216). + - name: AISIX_DPMGR_BASE_URL + value: {{ .Values.api.dpmgrBaseURL | quote }} + {{- end }} - name: AISIX_DPMGR_DATABASE_URL value: {{ include "aisix-cp.databaseURL" . }} - name: AISIX_DPMGR_MASTER_KEY diff --git a/charts/aisix-cp/values.yaml b/charts/aisix-cp/values.yaml index 6396dd2..b7258ee 100644 --- a/charts/aisix-cp/values.yaml +++ b/charts/aisix-cp/values.yaml @@ -38,6 +38,10 @@ api: affinity: {} extraEnvVars: [] publicBaseURL: "http://localhost:8080" + ## dp-manager /dp/* mTLS endpoint that data-plane hosts dial, as baked + ## into the generated install snippets. Also passed to the dpm + ## deployment, which seeds this host into the TLS server certificate it + ## presents — so an IP address works here, not only a DNS name. dpmgrBaseURL: "" oauthEnabled: false dpImage: "" # empty -> docker.io/api7/aisix: diff --git a/charts/aisix/Chart.yaml b/charts/aisix/Chart.yaml index 31e20bf..3127516 100644 --- a/charts/aisix/Chart.yaml +++ b/charts/aisix/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: aisix description: Helm chart for the AISIX AI gateway data plane type: application -version: 0.7.0 -appVersion: "0.7.0" +version: 0.7.1 +appVersion: "0.7.1" keywords: - ai-gateway diff --git a/charts/aisix/README.md b/charts/aisix/README.md index 08835b0..b9c0e9a 100644 --- a/charts/aisix/README.md +++ b/charts/aisix/README.md @@ -1,6 +1,6 @@ # aisix -![Version: 0.7.0](https://img.shields.io/badge/Version-0.7.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.0](https://img.shields.io/badge/AppVersion-0.7.0-informational?style=flat-square) +![Version: 0.7.1](https://img.shields.io/badge/Version-0.7.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.1](https://img.shields.io/badge/AppVersion-0.7.1-informational?style=flat-square) Helm chart for the AISIX AI gateway data plane