Files
Havrileck Alexandre 9f1db2d47d [stable/nextcloud] Add flexibility and more configurations (#16205)
* [stable/nextcloud] Allow to inject custom php configuration files

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Add annotations and labels on PVC

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Add fs group of www-data for mounted files

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Change mount path of PVC

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Add tmp directory in volume

This directory can be used for uploads as temporary directory

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Fix cronjob job template labels for new helm spec

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Allow change of cronjob image and add pull secrets

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Allow change cronjob resources,tolerations,affinity

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Cronjob (curl) follow redirect

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Add default values for persistence annotations

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Add all default nextcloud configurations

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Update documentation with new values and indent

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Upgrade chart version

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Fix trailing spaces in default values

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Fix default values for cronjob image declaration

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Fix default configs not mounted

Signed-off-by: Alexandre Havrileck <alexandre.havrileck@easymile.com>

* [stable/nextcloud] Mount default configs only if extra configs exists

Signed-off-by: Havrileck Alexandre <havrileckalexandre@gmail.com>
2019-08-10 03:53:13 -07:00

17 lines
497 B
YAML

{{- if .Values.nextcloud.phpConfigs -}}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "nextcloud.fullname" . }}-phpconfig
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 }}
data:
{{- range $key, $value := .Values.nextcloud.phpConfigs }}
{{ $key }}: |-
{{ $value | indent 4 }}
{{- end }}
{{- end }}