Skip to content

Commit

Permalink
fix(helm): correct port for port-forward is 8080 (#1178)
Browse files Browse the repository at this point in the history
Fix port displayed at the end of the helm release.

It displays `{{ .Values.service.port }}` which is `80` per default, it should be `8080`.
  • Loading branch information
thomas-chauvet authored Aug 18, 2022
1 parent bf670ba commit 264432c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helm/akhq/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
{{- else if contains "ClusterIP" .Values.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "akhq.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:8080 to use your application"
kubectl port-forward --namespace {{ .Release.Namespace }} $POD_NAME 8080:{{ .Values.service.port }}
kubectl port-forward --namespace {{ .Release.Namespace }} $POD_NAME 8080:8080
{{- end }}

0 comments on commit 264432c

Please sign in to comment.