No description
  • Dockerfile 100%
Find a file
2026-02-15 14:44:58 +01:00
base enable startupprobe to fix interrupted installation 2026-01-26 11:19:59 +01:00
build update to nc 32.0.6 (chart 8.9.1) 2026-02-15 14:41:56 +01:00
instancetemplate update to nc 32.0.6 (chart 8.9.1) 2026-02-15 14:41:56 +01:00
README.md add upgrade instructions 2026-02-15 14:44:58 +01:00

NextCloud in OpenShift / OKD

This repo is a fast setup for Nextcloud on Openshift without too much overwriting.

Setup

  1. make a new repo for your nextcloud deployment
  2. add the nextcloud-okd repo as submodule: git submodule add https://gitlab.pflaeging.net/pflaeging-net-public/nextcloud-okd.git
  3. copy the content of this directory to the root of the new repo cp nextcloud-okd/instancetemplate/* .

Config

  • change admin password in secret.yaml (bas64 encoded)
  • change in kustomization.yaml
    • give the deployment a pre- and postfix (at the top)
    • set the correct hostname (on 2 places)
    • change the size of the persistence
    • set the storage class

Rollout

Create the BuildConfig and build an image of nextcloud. See here

oc kustomize --enable-helm . | oc apply -f -

or

make an ArgoCd project and roll it out

Upgrading

  • Change the chart version in kustomization.yaml
  • Build the new nextcloud-nonroot image for the correct version (see here)
  • Optionally, increate the startup probe fail threshold temporarily so the container isn't killed during the upgrade
    • in ./base/nextcloud/values.yaml, add failureThreshold: 300 to the startup probe
  • Rollout with oc kustomize --enable-helm . | oc apply -f -