mirror of
https://github.com/helm/helm.git
synced 2026-03-31 06:37:45 -04:00
Add namespace option to example kubectl command
Signed-off-by: Jeff Bachtel <jeff.bachtel@ironnetcybersecurity.com>
This commit is contained in:
parent
9ba574f130
commit
2e1c54855e
1 changed files with 1 additions and 1 deletions
|
|
@ -324,7 +324,7 @@ const defaultNotes = `1. Get the application URL by running these commands:
|
|||
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "<CHARTNAME>.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 $POD_NAME 8080:80
|
||||
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80
|
||||
{{- end }}
|
||||
`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue