From e479fac8ede590c1fb0c5c30516858eac92f0243 Mon Sep 17 00:00:00 2001 From: Philip Haupt <“der.mad.mob@gmail.com”> Date: Sun, 7 Dec 2025 19:08:33 +0100 Subject: [PATCH] nextcloud update --- nextcloud/main.yaml | 71 ++++++++++++---------- nextcloud/src/kustomization.yaml | 2 +- nextcloud/src/values.yaml | 100 ++++++++++++++++++++++++------- 3 files changed, 119 insertions(+), 54 deletions(-) diff --git a/nextcloud/main.yaml b/nextcloud/main.yaml index 866f89c..e223636 100644 --- a/nextcloud/main.yaml +++ b/nextcloud/main.yaml @@ -5,13 +5,13 @@ data: kind: ConfigMap metadata: annotations: - confighash: config-a0251c3c8340b1da71056e3746336992 + confighash: config-ee2a94eb116f9a5697cf094b9203352a labels: app.kubernetes.io/instance: nextcloud app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: collabora - app.kubernetes.io/version: 24.04.5.2.1 - helm.sh/chart: collabora-1.1.20 + app.kubernetes.io/version: 25.04.7.2.1 + helm.sh/chart: collabora-1.1.53 name: nextcloud-collabora --- apiVersion: v1 @@ -57,10 +57,12 @@ data: ); autoconfig.php: |- /etc/crontabs/root - # exec busybox crond -c /etc/crontabs -f -L /dev/stdout # Uses a Kubernetes CronJob to execute the Nextcloud cron tasks # Note: can run as non-root user. Should run as same user as the Nextcloud pod. @@ -684,9 +688,14 @@ cronjob: # topologyKey: kubernetes.io/hostname ## Resource requests and limits - ## ref: http://kubernetes.io/docs/user-guide/compute-resources/ + ## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ ## resources: {} + + # -- priority class for the cron job. + # Overrides .Values.priorityClassName + priorityClassName: "" + # Allow configuration of lifecycle hooks # ref: https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/ # Set securityContext parameters. For example, you may need to define runAsNonRoot directive @@ -718,7 +727,7 @@ service: sessionAffinityConfig: {} ## Enable persistence using Persistent Volume Claims -## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/ +## ref: https://kubernetes.io/docs/concepts/storage/persistent-volumes/ ## persistence: # Nextcloud Data (/var/www/html) @@ -767,6 +776,12 @@ resources: {} # cpu: 100m # memory: 128Mi +# -- Priority class for pods. This is the _default_ +# priority class for pods created by this deployment - it may be +# overridden by more specific instances of priorityClassName - +# e.g. cronjob.cronjob.priorityClassName +priorityClassName: "" + ## Liveness and readiness probe values ## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes ## @@ -849,6 +864,10 @@ imaginary: # -- imaginary resources resources: {} + # -- priority class for imaginary. + # Overrides .Values.priorityClassName + priorityClassName: "" + # -- Optional security context for the Imaginary container securityContext: runAsUser: 1000 @@ -914,6 +933,7 @@ metrics: update: false image: + registry: docker.io repository: xperimental/nextcloud-exporter tag: 0.8.0 pullPolicy: IfNotPresent @@ -921,7 +941,7 @@ metrics: # - myRegistrKeySecretName ## Metrics exporter resource requests and limits - ## ref: http://kubernetes.io/docs/user-guide/compute-resources/ + ## ref: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ ## resources: {} @@ -984,12 +1004,12 @@ metrics: jobLabel: "" ## @param metrics.serviceMonitor.interval Interval at which metrics should be scraped - ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint + # ref: https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint ## interval: 30s ## @param metrics.serviceMonitor.scrapeTimeout Specify the timeout after which the scrape is ended - ## ref: https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#endpoint + # ref: https://prometheus-operator.dev/docs/api-reference/api/#monitoring.coreos.com/v1.Endpoint ## scrapeTimeout: "" @@ -1028,3 +1048,41 @@ rbac: ## @param securityContext for nextcloud pod @deprecated Use `nextcloud.podSecurityContext` instead securityContext: {} +# -- Allows users to inject additional Kubernetes manifests (YAML) to be rendered with the release. +# Could either be a list or a map +# If a map, each key is the name of the manifest. +# If an array, each item is a manifest, which can be a string (YAML block) or a YAML object. +# Each item should be a string containing valid YAML. Example: +# extraManifests: +# - | +# apiVersion: traefik.containo.us/v1alpha1 +# kind: Middleware +# metadata: +# name: my-middleware +# spec: +# ... +# - | +# apiVersion: traefik.containo.us/v1alpha1 +# kind: IngressRoute +# metadata: +# name: my-ingressroute +# spec: +# ... +# Or as a map: +# extraManifests: +# my-middleware: +# apiVersion: traefik.containo.us/v1alpha1 +# kind: Middleware +# metadata: +# name: my-middleware +# spec: +# ... +# my-ingressroute: +# apiVersion: traefik.containo.us/v1alpha1 +# kind: IngressRoute +# metadata: +# name: my-ingressroute +# spec: +# ... +extraManifests: [] +