Skip to content

Mint System Nextcloud

This Helm chart deploys Nextcloud with PostgreSQL.

Secrets

Setup a nextcloud-creds secret with any additional environment variables you want to pass to Nextcloud.

bash
NEXTCLOUD_ADMIN_USER="admin"
NEXTCLOUD_ADMIN_PASSWORD="*******"
kubectl create secret generic nextcloud-creds \
    --from-literal=NEXTCLOUD_ADMIN_USER="$NEXTCLOUD_ADMIN_USER" \
    --from-literal=NEXTCLOUD_ADMIN_PASSWORD="$NEXTCLOUD_ADMIN_PASSWORD" \
    -n <namespace>

The K8up backup requires a s3-credentials secret. Here is an example for Exoscale SOS:

bash
EXOSCALE_IAM_KEY="*******"
EXOSCALE_IAM_SECRET="*******"
kubectl create secret generic s3-credentials \
    --from-literal=endpoint="https://sos-ch-gva-2.exo.io" \
    --from-literal=bucket="k8up.mintcloud.ch" \
    --from-literal=username="$EXOSCALE_IAM_KEY" \
    --from-literal=password="$EXOSCALE_IAM_SECRET" \
    -n <namespace>

Parameters

Ingress parameters

NameDescriptionValue
ingress.enabledEnable or disable the ingresstrue
ingress.classNameThe class name for the ingressnginx
ingress.clusterIssuerRefThe cluster issuer reference for the ingressnil
ingress.hostThe host for the ingress""
ingress.customDomainThe custom domain for the ingress""

CloudNativePG parameters

NameDescriptionValue
cnpg.enabledEnable or disable CloudNativePGtrue
cnpg.nameOverrideOverride the name of the CloudNativePG cluster""
cnpg.instancesNumber of instances (1 for single, 2+ for high availability)1
cnpg.storage.sizePersistent volume size for each instance8Gi
cnpg.databaseName of the CloudNativePG database to createnextcloud
cnpg.ownerName of the database userapp

External Postgres parameters

NameDescriptionValue
postgres.enabledEnable or disable external Postgresfalse
postgres.dbThe database name for Postgresnextcloud
postgres.userThe username for Postgresnextcloud
postgres.secretRefThe secret reference for Postgresnextcloud-postgres
postgres.userPasswordKeyThe key for the user password in the secretpassword
postgres.storageClassNameSet the storage classstandard

Nextcloud parameters

NameDescriptionValue
enabledEnable or disable Nextcloudtrue
imageThe image for Nextcloudnextcloud:latest
imagePullPolicyPull policy for Nextcloud imageAlways
proxyModeEnable or disable proxy mode for Nextcloudtrue
adminUserThe admin username for Nextcloudadmin
adminPasswordThe admin password for Nextcloud""
dbTypeThe database type for Nextcloudpgsql
secretRefThe secret reference for Nextcloudnextcloud-creds
storageClassNameSet the storage class""

K8up parameters

NameDescriptionValue
k8up.enabledEnable or disable K8upfalse