Skip to content

Commit

Permalink
fix helm scripts BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
w-a-n-g-s-h-u-n authored Oct 20, 2021
1 parent f132801 commit 5519f1e
Showing 1 changed file with 2 additions and 2 deletions.
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" .}}

0 comments on commit 5519f1e

Please sign in to comment.