{{/* Make sure all variables are set properly */}} {{- include "common.setup" . }} {{/* Render configmap for nextcloud */}} {{- include "nextcloud.configmap" . }} {{- $newMiddlewares := append .Values.ingress.main.fixedMiddlewares "tc-nextcloud-chain" }} {{- $_ := set .Values.ingress.main "fixedMiddlewares" $newMiddlewares -}} {{/* Render cronjob for nextcloud */}} {{- include "nextcloud.cronjob" . }} {{/* Render the templates */}} {{ include "common.postSetup" . }}