Skip to content

Commit

Permalink
[chart] Edit NOTES to use more compatible command (#612)
Browse files Browse the repository at this point in the history
* Edit chart notes

* Simplify notes using -o name
  • Loading branch information
andresmgot authored Sep 12, 2018
1 parent 7d519b6 commit bf27e31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chart/kubeapps/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: kubeapps
version: 0.4.1
version: 0.4.2
appVersion: DEVEL
description: Kubeapps is a dashboard for your Kubernetes cluster that makes it easy to deploy and manage applications in your cluster using Helm
icon: https://raw.githubusercontent.com/kubeapps/kubeapps/master/docs/img/logo.png
Expand Down
3 changes: 2 additions & 1 deletion chart/kubeapps/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ To access Kubeapps from outside your K8s cluster, follow the steps below:
{{- else if contains "ClusterIP" .Values.frontend.service.type }}

echo "Kubeapps URL: http://127.0.0.1:8080"
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "kubeapps.fullname" . }} 8080:{{ .Values.frontend.service.port }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "kubeapps.fullname" . }}" -o name)
kubectl port-forward --namespace {{ .Release.Namespace }} $POD_NAME 8080:8080

{{- end }}
{{- end }}
Expand Down

0 comments on commit bf27e31

Please sign in to comment.