Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Improve notes to access deployed services (#7024)
Browse files Browse the repository at this point in the history
  • Loading branch information
juan131 authored and k8s-ci-robot committed Aug 7, 2018
1 parent 9f9cab7 commit 2266839
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion stable/owncloud/Chart.yaml
@@ -1,5 +1,5 @@
name: owncloud
version: 2.0.4
version: 2.0.5
appVersion: 10.0.9
description: A file sharing server that puts the control and security of your own data back into your hands.
keywords:
Expand Down
9 changes: 5 additions & 4 deletions stable/owncloud/templates/NOTES.txt
Expand Up @@ -46,12 +46,13 @@ host. To configure ownCloud with the URL of your service:

{{- if eq .Values.serviceType "ClusterIP" }}

export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "owncloud.fullname" . }}" -o jsonpath="{.items[0].metadata.name}")
echo http://127.0.0.1:8080/
kubectl port-forward $POD_NAME 8080:80
echo "ownCloud URL: echo http://127.0.0.1:8080/"
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "owncloud.fullname" . }} 8080:80

{{- else }}

echo http://{{ include "owncloud.host" . }}{{ if .Values.owncloudPort }}:{{ .Values.owncloudPort }}{{ end }}/
echo "ownCloud URL: http://{{ include "owncloud.host" . }}{{ if .Values.owncloudPort }}:{{ .Values.owncloudPort }}{{ end }}/"

{{- end }}

2. Get your ownCloud login credentials by running:
Expand Down

0 comments on commit 2266839

Please sign in to comment.