Newer
Older
Thank you for installing {{ .Chart.Name }}.
Your release is named {{ .Release.Name }}. This chart has installed Nextcloud
with Mariadb enabled and ONLYOFFICE. Nextcloud is available under a pod starting
with the name {{ .Release.Name }}-nextcloud, the ONLYOFFICE pod name starts with
{{ .Release.Name }}-office.
Nextcloud has been configured to use ONLYOFFICE for opening rich text documents,
using the `onlyoffice` app.
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={{ include "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 }} {{ include "nextcloudname" . }} -o jsonpath="{.data.nextcloud-password}" | base64 --decode)
3. Get the ONLYOFFICE URL by running these commands:
{{- if .Values.onlyoffice.ingress.enabled }}
{{- range $host := .Values.onlyoffice.ingress.hosts }}
echo http{{ if $.Values.onlyoffice.ingress.tls }}s{{ end }}://{{ $host }}
{{- end }}
{{- else if contains "NodePort" .Values.onlyoffice.service.type }}
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "onlyoffice-documentserver.fullname" . }})
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
echo http://$NODE_IP:$NODE_PORT
{{- else if contains "LoadBalancer" .Values.onlyoffice.service.type }}
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
You can watch the status of by running 'kubectl get svc -w {{ include "onlyoffice-documentserver.fullname" . }}'
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "onlyoffice-documentserver.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo http://$SERVICE_IP:{{ .Values.service.port }}
{{- else if contains "ClusterIP" .Values.onlyoffice.service.type }}
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "onlyoffice-documentserver.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
echo "Visit http://127.0.0.1:9980 to use your application"
kubectl port-forward $POD_NAME 9980:9980
{{- end }}