adapt owncloud helm chart from mumme-it/owncloud
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
{{- if .Values.ingress.enabled }}
|
||||
{{- range $host := .Values.ingress.hosts }}
|
||||
{{- range .paths }}
|
||||
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }}
|
||||
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- else if contains "NodePort" .Values.service.type }}
|
||||
@ -16,27 +16,6 @@
|
||||
echo http://$SERVICE_IP:{{ .Values.service.port }}
|
||||
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "owncloud.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}")
|
||||
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}")
|
||||
echo "Visit http://127.0.0.1:8080 to use your application"
|
||||
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT
|
||||
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:80
|
||||
{{- end }}
|
||||
|
||||
2. Initial login credentials:
|
||||
Username: {{ .Values.admin.username }}
|
||||
Password: [stored in secret {{ .Values.admin.existingSecret }}]
|
||||
|
||||
3. Database configuration:
|
||||
{{- if .Values.database.external.enabled }}
|
||||
Using external database at {{ .Values.database.external.host }}:{{ .Values.database.external.port }}
|
||||
Database: {{ .Values.database.external.database }}
|
||||
Username: {{ .Values.database.external.username }}
|
||||
Password: [stored in secret {{ .Values.database.external.existingSecret }}]
|
||||
{{- else }}
|
||||
Using internal database
|
||||
{{- end }}
|
||||
|
||||
4. Persistence information:
|
||||
Data directory: {{ .Values.persistence.mountPath }}
|
||||
|
||||
For more information about OwnCloud configuration, please refer to:
|
||||
https://doc.owncloud.com/server/admin_manual/configuration/
|
||||
|
Reference in New Issue
Block a user