Skip to content

Commit

Permalink
[sn-platform][sn-platform-slim]Upgrade private cloud console version (#…
Browse files Browse the repository at this point in the history
…1086)

* Support custom payload enabled for console
* Fixed console image version

(cherry picked from commit 7806cc7)
  • Loading branch information
tuteng authored and ericsyh committed Aug 24, 2023
1 parent 716cc08 commit 13cf8b8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ spec:
{{- end }}
workingDir: "/pulsar-manager/gateway"
command: ["/pulsar-manager/gateway/gateway-entrypoint.sh"]
env:
- name: OPENAPI_ENABLED
value: "{{ .Values.streamnative_console.configData.OPENAPI_ENABLED | default "false" }}"
ports:
- name: frontend
containerPort: {{ .Values.streamnative_console.ports.frontend }}
Expand Down
3 changes: 2 additions & 1 deletion charts/sn-platform-slim/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ images:
pullPolicy: IfNotPresent
streamnative_console:
repository: streamnative/private-cloud-console
tag: "v2.2.1"
tag: "v2.3.1"
pullPolicy: IfNotPresent
hasCommand: false
node_exporter:
Expand Down Expand Up @@ -1981,6 +1981,7 @@ streamnative_console:
GRAFANA_AUTH_PROXY: false
GRAFANA_AUTH_PROXY_USER: ""
CONNECTOR_ENABLED: true
OPENAPI_ENABLED: false

login:
sso:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ spec:
- name: BACKEND_DEFAULT_SUPER_USER_ROLE
value: {{ .Values.streamnative_console.configData.BACKEND_DEFAULT_SUPER_USER_ROLE }}
{{- end }}
- name: CUSTOM_PAYLOAD_ENABLED
value: "{{ .Values.streamnative_console.configData.CUSTOM_PAYLOAD_ENABLED | default "false" }}"
{{- if .Values.streamnative_console.login.sso.pulsarJwt.enabled }}
- name: AUTHENTICATION_NAME
value: "pulsar-jwt"
Expand Down Expand Up @@ -265,6 +267,9 @@ spec:
{{- end }}
workingDir: "/pulsar-manager/gateway"
command: ["/pulsar-manager/gateway/gateway-entrypoint.sh"]
env:
- name: OPENAPI_ENABLED
value: "{{ .Values.streamnative_console.configData.OPENAPI_ENABLED | default "false" }}"
ports:
- name: frontend
containerPort: {{ .Values.streamnative_console.ports.frontend }}
Expand Down
4 changes: 3 additions & 1 deletion charts/sn-platform/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ images:
pullPolicy: IfNotPresent
streamnative_console:
repository: streamnative/private-cloud-console
tag: "v2.2.1"
tag: "v2.3.1"
pullPolicy: IfNotPresent
hasCommand: false
node_exporter:
Expand Down Expand Up @@ -2072,6 +2072,8 @@ streamnative_console:
GRAFANA_AUTH_PROXY: false
GRAFANA_AUTH_PROXY_USER: ""
CONNECTOR_ENABLED: true
CUSTOM_PAYLOAD_ENABLED: false
OPENAPI_ENABLED: false

login:
sso:
Expand Down

0 comments on commit 13cf8b8

Please sign in to comment.