Skip to content

Commit

Permalink
fix: Only show ingress related notes when ingress is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
CH3CHO committed Oct 12, 2024
1 parent b70876a commit b78d055
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
Use the following command to access the console:
hgctl dashboard console

{{ if .Values.ingress.enabled -}}
Because you choose to create an Ingress resource for Higress Console, you can use the following URL to access it as well:
{{- range $path := .Values.ingress.paths }}
http{{ if $.Values.ingress.tlsSecretName }}s{{ end }}://{{ $.Values.ingress.domain }}{{ .path }}
{{- end }}
{{- if or .Values.global.local .Values.global.kind }}
And since Higress Console is running in local mode, you may need to add the following line into your hosts file before accessing it:
127.0.0.1 {{ $.Values.ingress.domain }}
{{- end }}
{{- end }}

0 comments on commit b78d055

Please sign in to comment.