Skip to content

Commit

Permalink
Merge pull request #80 from irfanhakim-as/template-update
Browse files Browse the repository at this point in the history
Update kubectl command for consistency
  • Loading branch information
irfanhakim-as authored Jun 25, 2024
2 parents 7a7966d + 8c697ac commit d7330ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/chartName/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Please run the following command(s) to obtain the right address to the service:
{{- else if eq $type "NodePort" }}
{{- $serviceAddress = "$(echo http://${NODE_IP}:${NODE_PORT})" | toString }}
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
export NODE_PORT=$(kubectl get service --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" {{ $serviceName }})
export NODE_PORT=$(kubectl get service --namespace {{ .Release.Namespace }} {{ $serviceName }} -o jsonpath="{.spec.ports[0].nodePort}")
{{- end }}
```

Expand Down

0 comments on commit d7330ba

Please sign in to comment.