mirror of
https://github.com/helm/charts.git
synced 2026-08-29 12:17:47 +00:00
* add nextcloud chart Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * insert suggestions from reviews in #5180 Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * disable ingress per default Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com> * fix nextcloud e2e tests Signed-off-by: Christian Ingenhaag <christian.ingenhaag@googlemail.com>
28 lines
793 B
YAML
28 lines
793 B
YAML
{{- if .Values.ingress.enabled }}
|
|
apiVersion: extensions/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ template "nextcloud.fullname" . }}
|
|
labels:
|
|
app.kubernetes.io/name: {{ include "nextcloud.name" . }}
|
|
helm.sh/chart: {{ include "nextcloud.chart" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
{{- if .Values.ingress.annotations }}
|
|
annotations:
|
|
{{ toYaml .Values.ingress.annotations | indent 4 }}
|
|
{{- end }}
|
|
spec:
|
|
rules:
|
|
- host: {{ .Values.nextcloud.host }}
|
|
http:
|
|
paths:
|
|
- backend:
|
|
serviceName: {{ template "nextcloud.fullname" . }}
|
|
servicePort: {{ .Values.service.port }}
|
|
{{- if .Values.ingress.tls }}
|
|
tls:
|
|
{{ toYaml .Values.ingress.tls | indent 4 }}
|
|
{{- end -}}
|
|
{{- end }}
|