Skip to content

Commit

Permalink
Merge pull request #6 from aghassemlouei/patch-1
Browse files Browse the repository at this point in the history
adding aws load balancer configuration capability
  • Loading branch information
portswigger-craig authored Nov 15, 2024
2 parents 521ef20 + eb368bb commit 4885185
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions charts/helm-chart/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,16 @@ To learn more about the release, try:

{{ if eq $selectorValue $selectorLabelValue }}
{{ $lbIngress := .status.loadBalancer.ingress }}
{{- $hostName := get (first $lbIngress) "hostname" -}}
{{- $ip := get (first $lbIngress) "ip" -}}
{{ $url := or $hostName $ip }}
You can access the application by using https://{{ $url }}/
{{- if $lbIngress -}}
{{- $hostName := get (first $lbIngress) "hostname" -}}
{{- $ip := get (first $lbIngress) "ip" -}}
{{ $url := or $hostName $ip }}
You can access the application by using https://{{ $url }}/
{{- else -}}
You appear to be using a non-standard load balancer configuration.
Please check your deployment for the correct endpoint address.
{{- end -}}
{{- end -}}
{{ end }}

You may need to wait a few minutes for {{ .Chart.Name }} to install before accessing the URL.
You may need to wait a few minutes for {{ .Chart.Name }} to install before accessing the URL.

0 comments on commit 4885185

Please sign in to comment.