atlassian-confluence

by wirwolf

Helm chartv3.4.1App 7.10.0

Helm chart for Atlassian Confluence Server.

About this chart

Confluence Server

Atlassian Confluence Server is your remote-friendly team workspace where knowledge and collaboration meet.

Installing the Chart

Before you can install the chart you will need to add the stevehipwell repo to Helm.

helm repo add stevehipwell https://stevehipwell.github.io/helm-charts/

After you've installed the repo you can install the chart.

helm upgrade --install --namespace default --values ./my-values.yaml my-release stevehipwell/confluence-server

Configuration

The following table lists the configurable parameters of the Confluence Server chart and their default values.

ParameterDescriptionDefault
image.repositoryImage repository.atlassian/confluence-server
image.tagImage tag..Chart.AppVersion
image.pullPolicyImage pull policy.IfNotPresent
image.pullSecretsImage pull secrets.[]
nameOverrideOverride the name of the chart.nil
fullnameOverrideOverride the fullname of the chart.nil
serviceAccount.createIf true, create a new service account.true
serviceAccount.annotationsAnnotations to add to the service account.{}
serviceAccount.nameService account to be used. If not set and serviceAccount.create is true, a name is generated using the fullname template.nil
podAnnotationsAnnotations to add to the primary container.{}
securityContextSecurity context for the pod.{}
podSecurityContextSecurity context for the primary container.{ fsGroup: 2002 }
service.typeService type.ClusterIP
service.annotationsAnnotations to add to the service.{}
service.portService port.8090
ingress.enabledIf true, create an ingress object.false
ingress.annotationsIngress annotations.{}
ingress.pathIngress path./
ingress.hostsIngress hosts.[]
ingress.tlsIngress TLS configuration[]
persistence.enabledIf true, create a PVC.false
persistence.annotationsAnnotations to add to the PVC.{}
persistence.existingClaimUse an existing PVC to persist data.nil
persistence.accessModePersistence access mode.ReadWriteOnce
persistence.storageClassPVC storage class (use - for default).standard
persistence.sizeSize of PVC to create.8Gi
resourcesResource requests and limits for the primary container.{}
nodeSelectorNode labels for pod assignment.{}
tolerationsToleration labels for pod assignment.[]
affinityAffinity settings for pod assignment.{}
caCerts.enabledIf true, add provided CA certificates to the JVM cacerts key store.false
caCerts.secretSecret containing the additional CA certificates.nil
envVars.jvmMinHeapSizeJVM min heap size (should match jvmMaxHeapSize).1024m
envVars.jvmMaxHeapSizeJVM max heap size (should match jvmMinHeapSize).1024m
envVars.jvmAdditionalMemoryOptionsAdditional JVM memory options.-XX:MaxMetaspaceSize=512m -XX:MaxDirectMemorySize=10m
envVars.jvmAdditionalOptionsAdditional JVM options.""
envVars.synchronyMaxMemoryAdditional JVM options.0m
envEnvironment variables for all containers in the pod.[]
psql.hostExternal PostgreSQL host to use (if this is set the additional psql values need to be set)nil
psql.portExternal PostgreSQL portnil
psql.databaseExternal PostgreSQL databasenil
psql.usernameExternal PostgreSQL usernamenil
psql.password.secretName of the secret containing the external PostgreSQL passwordnil
psql.password.keyKey on the secret containing the external PostgreSQL passwordnil
postgresql.enabledEnable PostgreSQL sub chart, see chart for additional values.false

Database

By default the atlassian/confluence-server image will create a H2 database for evaluation purposes, this should NOT be used in production. You can either allow this chart to create a PostgreSQL instance specifically for Confluence Server by specifying postgresql.enabled as true or you can use an external PostgreSQL instance by specifying the connection details on psql.

Persistence

The atlassian/confluence-server image stores the Confluence Server data and configurations at the /var/atlassian/application-data/confluence path in the container.

Persistent Volume Claims are used to keep the data across deployments. This is known to work in GCE, AWS, and minikube. See the Configuration section to configure the PVC or to disable persistence.

Deploy atlassian-confluence with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has atlassian-confluence 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 chartatlassian-confluence is pinned at v3.4.1 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