hedgedoc

by Adfinis

Helm chartv0.6.2App 1.12.2Verified publisher

Chart for HedgeDoc, a fork of CodiMD

About this chart

hedgedoc

Chart for HedgeDoc, a fork of CodiMD

Maintainers

This chart is maintained by Adfinis.

Source Code

Requirements

RepositoryNameVersion
oci://registry-1.docker.io/cloudpiratespostgresql(postgres)~0.19.5

Values

KeyTypeDefaultDescription
affinityobject{}
autoscalingobject{"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80}Configure autoscaling
existingSecretstringnilfrom-literal=CMD_SESSION_SECRET=verysecure
externalDatabaseobject{"database":"hedgedoc","host":"localhost","password":"changeme","port":5432,"type":"postgresql","username":"setme"}Configure your external database here This is automatically used when postgresql.enabled is false.
externalDatabase.typestring"postgresql"Set the database type (postgresql
extraSecretMountsobject{}Extra Secrets configuration Add additional secrets here; they will be mounted under /var/secrets/<secret name> You need this for SAML certificates, etc.
fullnameOverridestring""
hedgedocobject{"env":{"CMD_DOMAIN":"localhost","CMD_FORBIDDEN_NOTE_IDS":"robots.txt, favicon.ico, api, build, css, docs, fonts, js, uploads, vendor, views","CMD_HOST":"0.0.0.0","CMD_IMAGE_UPLOAD_TYPE":"filesystem","CMD_PROTOCOL_USESSL":"false","CMD_TOOBUSY_LAG":70,"CMD_URL_ADDPORT":"false","CMD_URL_PATH":"","DEBUG":"false","NODE_ENV":"production"},"persistentStorage":{"accessModes":["ReadWriteOnce"],"enabled":true,"size":"10G","storageClass":"","volumeMode":"Filesystem"},"port":3000}Main configuration for hedgedoc
hedgedoc.envobjectSee the official docs for all variablesEnvironment variables for Hedgedoc
hedgedoc.env.NODE_ENVstring"production"Node.js env
hedgedoc.persistentStorageobject{"accessModes":["ReadWriteOnce"],"enabled":true,"size":"10G","storageClass":"","volumeMode":"Filesystem"}Persistent Storage Enable this if you don't want to loose media
hedgedoc.portint3000Port for the pod
image.pullPolicystring"IfNotPresent"Override the pullPolicy
image.repositorystring"quay.io/hedgedoc/hedgedoc"Override the repository
image.tagstring""Override the imaae tag
imagePullSecretslist[]
ingressobject{"annotations":{},"className":"","enabled":false,"hosts":[{"host":"chart-example.local","paths":[{"path":"/","pathType":"ImplementationSpecific"}]}],"tls":[]}Ingress configuration
livenessProbeobject{"enabled":true,"failureThreshold":2,"initialDelaySeconds":20,"periodSeconds":5,"successThreshold":1,"timeoutSeconds":2}Specify custom options for the containers liveness and readiness probes
nameOverridestring""
nodeSelectorobject{}
podAnnotationsobject{}
podSecurityContextobject{}
postgresqlobject{"auth":{"database":"hedgedoc","password":"hedgedoc","username":"hedgedoc"},"enabled":true,"nameOverride":"postgresql"}PostgreSQL chart configuration Reference: https://github.com/bitnami/charts/blob/master/bitnami/postgresql/values.yaml If you want to use external database, just set postgresql.enabled to false
prometheus.enabledboolfalseEnable Prometheus integration
prometheus.extraAnnotationsobject{}Annotations to add to all Prometheus integration resources
prometheus.extraLabelsobject{}Labels to add to all Prometheus integration resources
prometheus.serviceMonitor.enabledboolfalseEnable creation of a ServiceMonitor CRD
prometheus.serviceMonitor.intervalstring"30s"Interval at which metrics should be scraped
prometheus.serviceMonitor.metricRelabelingslist[]MetricRelabelConfigs to apply to samples before ingestion
prometheus.serviceMonitor.relabelingslist[]RelabelConfigs to apply to samples before scraping
readinessProbe.enabledbooltrue
readinessProbe.failureThresholdint2
readinessProbe.initialDelaySecondsint20
readinessProbe.periodSecondsint5
readinessProbe.successThresholdint1
readinessProbe.timeoutSecondsint2
replicaCountint1
resourcesobject{}
securityContextobject{}
serviceobject{"port":3000,"type":"ClusterIP"}Service configuration
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
strategyobject{"type":"Recreate"}Configure the deployment strategy
tolerationslist[]

About this chart

Adfinis fights for a software world that is more open, where the quality is better and where software must be accessible to everyone. This chart is part of the action behind this commitment. Feel free to contact us if you have any questions.

License

This Helm chart is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, version 3 of the License.


Autogenerated from chart metadata using helm-docs

Deploy hedgedoc with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has hedgedoc 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 charthedgedoc is pinned at v0.6.2 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