Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix helm scripts BUG #4054

Merged
merged 1 commit into from
Oct 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/helm/apollo-service/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Meta service url for current release:
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "apollo.configService.fullName" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "apollo.configService.serviceName" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
echo http://$SERVICE_IP:{{ .Values.service.port }}{{ .Values.configService.config.contextPath }}
echo http://$SERVICE_IP:{{ .Values.configService.service.port }}{{ .Values.configService.config.contextPath }}
{{- else if contains "ClusterIP" .Values.configService.service.type }}
echo {{ include "apollo.configService.serviceUrl" .}}

Expand All @@ -29,4 +29,4 @@ Ingress:

Urls registered to meta service:
Config service: {{ include "apollo.configService.serviceUrl" .}}
Admin service: {{ include "apollo.adminService.serviceUrl" .}}
Admin service: {{ include "apollo.adminService.serviceUrl" .}}