dokuwiki

by [riftbit]

Helm chartv11.2.6App 20200729.0.0Verified publisher

DokuWiki is a standards-compliant, simple to use wiki optimized for creating documentation. It is targeted at developer teams, workgroups, and small companies. All data is stored in plain text files, so no database is required.

About this chart

DokuWiki

DokuWiki is a standards-compliant, simple to use wiki optimized for creating documentation. It is targeted at developer teams, workgroups, and small companies. All data is stored in plain text files, so no database is required.

TL;DR

$ helm repo add bitnami https://charts.bitnami.com/bitnami
$ helm install my-release bitnami/dokuwiki

Introduction

This chart bootstraps a DokuWiki deployment on a Kubernetes cluster using the Helm package manager.

Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters. This chart has been tested to work with NGINX Ingress, cert-manager, fluentd and Prometheus on top of the BKPR.

Prerequisites

  • Kubernetes 1.12+
  • Helm 3.1.0
  • PV provisioner support in the underlying infrastructure
  • ReadWriteMany volumes for deployment scaling

Installing the Chart

To install the chart with the release name my-release:

$ helm install my-release bitnami/dokuwiki

The command deploys DokuWiki on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Parameters

Global parameters

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)""
nameOverrideString to partially override dokuwiki.fullname template with a string (will prepend the release name)""
fullnameOverrideString to fully override dokuwiki.fullname template with a string""
commonAnnotationsAnnotations to add to all deployed objects{}
commonLabelsLabels to add to all deployed objects{}
extraDeployArray of extra objects to deploy with the release (evaluated as a template).[]

Dokuwiki parameters

NameDescriptionValue
image.registryDokuWiki image registrydocker.io
image.repositoryDokuWiki image repositorybitnami/dokuwiki
image.tagDokuWiki image tag20200729.0.0-debian-10-r370
image.pullPolicyImage pull policyIfNotPresent
image.pullSecretsImage pull policy[]
image.debugEnable image debuggingfalse
hostAliasesAdd deployment host aliases[]
dokuwikiUsernameUser of the applicationuser
dokuwikiPasswordApplication password""
existingSecretUse an existing secret with the dokuwiki password""
dokuwikiEmailAdmin email[email protected]
dokuwikiFullNameUser's Full NameUser Name
dokuwikiWikiNameWiki nameMy Wiki
persistence.enabledEnable persistence using PVCtrue
persistence.storageClassPVC Storage Class for DokuWiki volume""
persistence.accessModePVC Access Mode for DokuWiki volumeReadWriteOnce
persistence.sizePVC Storage Request for DokuWiki volume8Gi
persistence.existingClaimName of an existing PVC to be used""
podSecurityContext.enabledEnable securityContext on for DokuWiki deploymenttrue
podSecurityContext.fsGroupGroup to configure permissions for volumes1001
containerSecurityContext.enabledEnable securityContext on for DokuWiki deploymenttrue
containerSecurityContext.runAsUserUser for the securityContext1001
resources.requestsThe requested resources for the container{}
livenessProbe.enabledEnable/disable the liveness probetrue
livenessProbe.initialDelaySecondsDelay before liveness probe is initiated120
livenessProbe.periodSecondsHow often to perform the probe10
livenessProbe.timeoutSecondsWhen the probe times out5
livenessProbe.failureThresholdMinimum consecutive failures to be considered failed6
livenessProbe.successThresholdMinimum consecutive successes to be considered successful1
readinessProbe.enabledEnable/disable the readiness probetrue
readinessProbe.initialDelaySecondsDelay before readinessProbe is initiated30
readinessProbe.periodSecondsPeriod seconds for readinessProbe10
readinessProbe.timeoutSecondsWhen the probe times out5
readinessProbe.failureThresholdMinimum consecutive failures to be considered failed6
readinessProbe.successThresholdMinimum consecutive successes to be considered successful1
podAffinityPresetPod affinity preset. Ignored if affinity is set. Allowed values: soft or hard""
podAntiAffinityPresetPod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hardsoft
nodeAffinityPreset.typeNode affinity preset type. Ignored if affinity is set. Allowed values: soft or hard""
nodeAffinityPreset.keyNode label key to match Ignored if affinity is set.""
nodeAffinityPreset.valuesNode label values to match. Ignored if affinity is set.[]
affinityAffinity for pod assignment{}
nodeSelectorNode labels for pod assignment{}
tolerationsTolerations for pod assignment[]
commandOverride default container command (useful when using custom images)[]
argsOverride default container args (useful when using custom images)[]
extraEnvVarsAn array to add extra env vars[]
extraEnvVarsCMConfigMap containing extra env vars""
extraEnvVarsSecretSecret containing extra env vars (in case of sensitive data)""
podAnnotationsPod annotations{}
customLivenessProbeOverride default liveness probe{}
customReadinessProbeOverride default readiness probe{}
extraVolumesArray of extra volumes to be added to the deployment (evaluated as template). Requires setting extraVolumeMounts[]
extraVolumeMountsArray of extra volume mounts to be added to the container (evaluated as template). Normally used with extraVolumes.[]
lifecycleHooksLifecycleHook to set additional configuration at startup. Evaluated as a template

Deploy dokuwiki with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dokuwiki on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartdokuwiki is pinned at v11.2.6 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply