Commit d6e38357 authored by Maarten de Waard's avatar Maarten de Waard 🤘🏻

give nextcloud URL and credentials in NOTES

parent d2c7ef17
......@@ -14,3 +14,19 @@ To learn more, try:
$ helm status {{ .Release.Name }}
$ helm get {{ .Release.Name }}
{{- $nextcloudname := printf "%s-%s" .Release.Name "nextcloud" | trunc 63 | trimSuffix "-" }}
1. To log into Nextcloud, get the nextcloud URL by running:
{{ if .Values.nextcloud.ingress.enabled }}
echo https://{{ .Values.nextcloud.nextcloud.host }}{{ if .Values.nextcloud.nextcloudPort }}:{{ .Values.nextcloud.nextcloudPort }}{{ end }}/
{{- else if eq .Values.nextcloud.service.type "ClusterIP" }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ $nextcloudname }}" -o jsonpath="{.items[0].metadata.name}")
echo http://127.0.0.1:8080/
kubectl port-forward $POD_NAME 8080:8080
{{- end }}
2. Get your nextcloud login credentials by running:
echo User: {{ .Values.nextcloud.nextcloud.username }}
echo Password: $(kubectl get secret --namespace {{ .Release.Namespace }} {{ $nextcloudname }} -o jsonpath="{.data.nextcloud-password}" | base64 --decode)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment