Skip to content

Commit

Permalink
feat: Support disabling swagger APIs via a helm chart property (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
CH3CHO authored Jul 26, 2024
1 parent b902949 commit 6134bde
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: higress-console
description: Management console for Higress
type: application
version: 1.3.2
version: 1.4.1
sources:
- https://github.com/higress-group/higress-console
appVersion: "1.3.2"
appVersion: "1.4.1"
2 changes: 2 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ spec:
{{- end }}
- name: HIGRESS_CONSOLE_CONTROLLER_INGRESS_CLASS_NAME
value: {{ .Values.global.ingressClass }}
- name: SPRINGFOX_DOCUMENTATION_ENABLED
value: "{{ .Values.swagger.enabled }}"
ports:
- name: http
containerPort: {{ .Values.service.port }}
Expand Down
3 changes: 3 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ web:
login:
prompt: "" # If set, a prompt message will be displayed on the login page.

swagger:
enabled: false

admin:
username: admin
displayName: Admin
Expand Down

0 comments on commit 6134bde

Please sign in to comment.