Skip to content

Commit 388079e

Browse files
authored
release(aisix-cp): 0.3.1 (#309)
1 parent 77e6a74 commit 388079e

4 files changed

Lines changed: 13 additions & 3 deletions

File tree

charts/aisix-cp/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: aisix-cp
33
description: Helm chart for AISIX control plane (cp-api, dp-manager, dashboard)
44
type: application
5-
version: 0.3.0
6-
appVersion: "0.3.0"
5+
version: 0.3.1
6+
appVersion: "0.3.1"
77

88
maintainers:
99
- name: API7

charts/aisix-cp/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# aisix-cp
22

3-
![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.3.0](https://img.shields.io/badge/AppVersion-0.3.0-informational?style=flat-square)
3+
![Version: 0.3.1](https://img.shields.io/badge/Version-0.3.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.3.1](https://img.shields.io/badge/AppVersion-0.3.1-informational?style=flat-square)
44

55
Helm chart for AISIX control plane (cp-api, dp-manager, dashboard)
66

@@ -29,6 +29,7 @@ Helm chart for AISIX control plane (cp-api, dp-manager, dashboard)
2929
| api.image.tag | string | `""` | |
3030
| api.nodeSelector | object | `{}` | |
3131
| api.oauthEnabled | bool | `false` | |
32+
| api.playgroundAllowPrivateIPs | bool | `false` | |
3233
| api.podSecurityContext.fsGroup | int | `101` | |
3334
| api.podSecurityContext.runAsGroup | int | `101` | |
3435
| api.podSecurityContext.runAsNonRoot | bool | `true` | |

charts/aisix-cp/templates/api-deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ spec:
7777
{{- end }}
7878
- name: AISIX_CLOUD_OAUTH_ENABLED
7979
value: {{ .Values.api.oauthEnabled | quote }}
80+
{{- if .Values.api.playgroundAllowPrivateIPs }}
81+
- name: AISIX_PLAYGROUND_ALLOW_PRIVATE_IPS
82+
value: "1"
83+
{{- end }}
8084
- name: AISIX_CLOUD_DP_IMAGE
8185
value: {{ .Values.api.dpImage | default (printf "docker.io/api7/aisix:%s" .Chart.AppVersion) | quote }}
8286
{{- with .Values.api.extraEnvVars }}

charts/aisix-cp/values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ api:
4141
dpmgrBaseURL: ""
4242
oauthEnabled: false
4343
dpImage: "" # empty -> docker.io/api7/aisix:<appVersion>
44+
## Allow the dashboard playground to reach LLM endpoints on private /
45+
## internal networks. cp-api blocks private IPs by default (SSRF guard);
46+
## enable this only for self-hosted deployments whose models live on an
47+
## internal network the cp-api pod can route to.
48+
playgroundAllowPrivateIPs: false
4449

4550
## @section dp-manager
4651
dpm:

0 commit comments

Comments
 (0)