Helm chartv0.9.5App 1.10.1Apache-2.0Verified publisher

A Helm chart for the fastest knowledge base for growing teams. Beautiful, realtime collaborative, feature packed, and markdown compatible.

About this chart

outline

A Helm chart for the fastest knowledge base for growing teams. Beautiful, realtime collaborative, feature packed, and markdown compatible.

Official Documentation

For detailed usage instructions, configuration options, and additional information about the outline Helm chart, refer to the official documentation.

Get Helm Repository Info

helm repo add community-charts https://community-charts.github.io/helm-charts
helm repo update

See helm repo for command documentation.

Installing the Chart

helm install [RELEASE_NAME] community-charts/outline

See configuration below.

See helm install for command documentation.

Tip: Search all available chart versions using helm search repo community-charts -l. Please don't forget to run helm repo update before the command.

Full Example

If you prefer to use self-signed certificate, please install cert-manager and selfsigned-issuer in your cluster. You can install cert-manager with following command:

helm install cert-manager jetstack/cert-manager --namespace cert-manager --create-namespace --version v1.17.0 --set crds.enabled=true

Please find more information about cert-manager here.

And you can create selfsigned-issuer with following command:

echo "apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
  name: selfsigned-issuer
spec:
  selfSigned: {}" | kubectl apply -f -

Please find more information about selfsigned-issuer here.

Now you can use the following values.yaml file to install the chart. Please don't forget to import selfsigned certificate to your computer and change trust level of the certificate. Or you can use a valid certificate from your certificate authority.

strategy:
  type: Recreate

secretKeyExternalSecret:
  name: "my-secret-key-secret-name"
  key: "secret-key"

utilsSecretExternalSecret:
  name: "my-utils-secret-secret-name"
  key: "utils-secret"

auth:
  gitea:
    enabled: true
    clientId: "123456ab-d789-12ef-g345-f6789ab12cd3"
    clientSecret: "gto_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6"
    baseUrl: "https://gitea.example.com"

ingress:
  enabled: true
  annotations:
    cert-manager.io/cluster-issuer: "selfsigned-issuer"
  hosts:
    - host: "outline.example.com"
      paths:
        - path: /
          pathType: ImplementationSpecific
  tls:
    - secretName: "outline-selfsigned-cert-tls"
      hosts:
        - "outline.example.com"

web:
  forceHttps: false
  skipSSLVerification: true

externalRedis:
  host: "redis.example.com"
  existingSecret: "external-redis-secret"
  usernameSecretKey: "redis-username"
  passwordSecretKey: "redis-password"

externalPostgresql:
  host: "postgresql.example.com"
  database: "outline"
  existingSecret: "external-postgresql-secret"
  passwordSecretKey: "postgres-password"

fileStorage:
  mode: "local"

  local:
    persistence:
      enabled: true
      storageClass: "longhorn-static"

resources:
  requests:
    cpu: "1000m"
    memory: "512Mi"
  limits:
    cpu: "2000m"
    memory: "2Gi"

Data Encryption Configuration

Secret Key

The Secret Key is essential for encrypting your data, ensuring it remains secure. You can configure it in one of two ways:

  1. Direct Configuration: Set the key directly using the secretKey field.
  2. External Secret Reference: Reference an existing secret using the secretKeyExternalSecret.name and secretKeyExternalSecret.key fields.

If you don't provide a key, one will be automatically generated for you.

Example Configurations

Direct Secret Key:

secretKey: "2a59e6190ec43998923e4553491d174c8b8cc0d4f91b541fe71bd479e93edf35"

Tip: Generate a secure key using the command openssl rand -hex 32.

External Secret Reference:

secretKeyExternalSecret:
  name: my-secret
  key: secret-key

Utils Secret

The Utils Secret is used to authenticate requests to the cron utility endpoint, enabling secure triggering of scheduled tasks. You can configure it in one of two ways:

  1. Direct Configuration: Set the secret directly using the utilsSecret field.
  2. External Secret Reference: Reference an existing secret using the utilsSecretExternalSecret.name and utilsSecretExternalSecret.key fields.

If not provided, a utils secret will be automatically generated.

Example Configurations

Direct Utils Secret:

utilsSecret: "my-super-secret-utils-secret"

External Secret Reference:

utilsSecretExternalSecret:
  name: my-secret
  key: secret-key

Authentication Methods

Outline supports multiple authentication methods. Here are examples for each:

Google Auth

This is for setting up the Google authentication. More information about google can be found here: https://docs.getoutline.com/s/hosting/doc/google-hOuvtCmTqQ

auth:
  google:
    enabled: true
    clientId: "your-client-id"
    clientSecret: "your-client-secret"

Azure Auth

This is for setting up the Azure authentication. More information about azure can be found here: https://docs.getoutline.com/s/hosting/doc/microsoft-entra-UVz6jsIOcv

auth:
  azure:
    enabled: true
    clientId: "your-client-id"
    clientSecret: "your-client-secret"
    resourceAppId: "optional-resource-app-id"  # Optional
    tenantId: "optional-tenant-id"  # Optional

OIDC Auth

This is for setting up the OIDC authentication. More information about oidc can be found here: https://docs.getoutline.com/s/hosting/doc/oidc-8CPBm6uC0I

auth:
  oidc:
    enabled: true
    clientId: "your-client-id"
    clientSecret: "your-client-secret"
    authUri: "https://your-auth-server/auth"
    tokenUri: "https://your-auth-server/token"
    userInfoUri: "https://your-auth-server/userinfo"
    usernameClaim: "preferred_username"
    displayName: "OpenID Connect"
    scopes:
      - openid
      - profile
      - email

Slack Auth

This is for setting up the Slack authentication. More information about slack can be found here: https://docs.getoutline.com/s/hosting/doc/slack-sgMujR8J9J

auth:
  slack:
    enabled: true
    clientId: "your-client-id"
    clientSecret: "your-client-secret"

GitHub Auth

This is for setting up the GitHub authentication. More information about github can be found here: https://docs.getoutline.com/s/hosting/doc/github-GchT3NNxI9

auth:
  github:
    enabled: true
    clientId: "your-client-id"
    clientSecret: "your-client-secret"
    appName: "your-app-name"  # Optional
    appId: "your-app-id"  # Optional
    appPrivateKey: "your-private-key"  # Optional

GitLab Auth

This is for setting up the GitLab authentication. More information about gitlab can be found here: https://docs.gitlab.com/ee/integration/oauth_provider.html

auth:
  gitlab:
    enabled: true
    clientId: "your-client-id"
    clientSecret: "your-client-secret"
    baseUrl: "https://gitlab.com"  # Optional, for self-hosted instances

Gitea Auth

This is for setting up the Gitea authentication. More information about gitea can be found here: https://docs.gitea.com/development/oauth2-provider#endpoints

auth:
  gitea:
    enabled: true
    clientId: "your-client-id"
    clientSecret: "your-client-secret"
    baseUrl: "https://gitea.com"  # Optional, for self-hosted instances

Keycloak Auth

This is for setting up the Keycloak authentication. More information about keycloak can be found here: https://www.keycloak.org/docs/latest/server_admin/index.html#_oauth2-service-provider-configuration

auth:
  keycloak:
    enabled: true
    clientId: "your-client-id"
    clientSecret: "your-client-secret"
    realm: "your-realm"

Discord Auth

This is for setting up the Discord authentication. More information about discord can be found here: https://docs.getoutline.com/s/hosting/doc/discord-g4JdWFFub6

auth:
  discord:
    enabled: true
    clientId: "your-client-id"
    clientSecret: "your-client-secret"
    serverId: "your-server-id"
    serverRoles: []

Auth0 Auth

This is for setting up the Auth0 authentication. More information about auth0 can be found here: https://auth0.com/docs/get-started/applications/configure-applications-with-oidc-discovery

auth:
  auth0:
    enabled: true
    clientId: "your-client-id"
    clientSecret: "your-client-secret"
    baseUrl: "https://your-auth0-server"

Storage Configuration

Local File Storage

fileStorage:
  mode: local
  local:
    rootDir: /var/lib/outline/data
    persistence:
      enabled: true
      size: 8Gi

S3 Compatible Storage

fileStorage:
  mode: s3

  s3:
    bucket: outline
    region: us-east-1
    bucketUrl: "https://your-s3-compatible-endpoint"
    accessKeyId: "your-access-key"
    secretAccessKey: "your-secret-key"
    forcePathStyle: true
    acl: private

Using MinIO

fileStorage:
  mode: s3

minio:
  enabled: true
  rootUser: admin
  rootPassword: strongpassword

  persistence:
    enabled: true
    size: 40Gi

Database Configuration

Using Built-in PostgreSQL

postgresql:
  enabled: true

  auth:
    username: outline
    password: strongpassword
    database: outline

  primary:
    persistence:
      enabled: true

Using External PostgreSQL

postgresql:
  enabled: false

externalPostgresql:
  host: "your-postgresql-host"
  port: 5432
  database: outline
  username: outline
  password: strongpassword
  # Or use existing secret:
  existingSecret: "your-secret-name"

Redis Configuration

Using Built-in Redis

redis:
  enabled: true
  architecture: standalone
  master:
    persistence:
      enabled: true

Using External Redis

redis:
  enabled: false

externalRedis:
  host: "your-redis-host"
  port: 6379
  username: "default"
  password: "your-password"
  # Or use existing secret:
  existingSecret: "your-secret-name"

SMTP Configuration

smtp:
  host: "smtp.example.com"
  port: 587
  username: "your-username"
  password: "your-password"
  fromEmail: "[email protected]"
  replyEmail: "[email protected]"
  secure: true

Ingress Configuration

ingress:
  enabled: true
  className: nginx
  annotations:
    kubernetes.io/ingress.class: nginx
    cert-manager.io/cluster-issuer: letsencrypt-prod

  hosts:
    - host: outline.example.com
      paths:
        - path: /
          pathType: ImplementationSpecific

  tls:
    - secretName: outline-tls
      hosts:
        - outline.example.com

Resource Management

resources:
  requests:
    cpu: 1000m
    memory: 512Mi
  limits:
    cpu: 2000m
    memory: 2Gi

Health Checks

livenessProbe:
  httpGet:
    path: /_health
    port: http
  initialDelaySeconds: 10
  periodSeconds: 30
  timeoutSeconds: 3
  failureThreshold: 5

readinessProbe:
  httpGet:
    path: /_health
    port: http
  initialDelaySeconds: 10
  periodSeconds: 30
  timeoutSeconds: 3
  failureThreshold: 5

Upgrading

This section outlines major updates and breaking changes for each version of the Helm Chart to help you transition smoothly between releases.


Version-Specific Upgrade Notes

Upgrading to Version 0.5.2

Deprecation Notices

  • The field externalPostgresql.secretKey is deprecated.

Action Required

Please consider using externalPostgresql.passwordSecretKey field instead. The deprecated field will be removed in the next major release.

Requirements

Kubernetes: >=1.23.0-0

RepositoryNameVersion
https://charts.bitnami.com/bitnamipostgresql18.11.5
https://charts.bitnami.com/bitnamiredis28.2.2
https://charts.min.io/minio5.4.0

Uninstall Helm Chart

helm uninstall [RELEASE_NAME]

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

See helm uninstall for command documentation.

Upgrading Chart

helm upgrade [RELEASE_NAME] community-charts/outline

Values

KeyTypeDefaultDescription
affinityobject{}For more information checkout: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
authobject`{"auth0":{"baseUrl":"","clientId":"","clientSecret":"","displayName":"Auth0 Connect","enabled":false,"existingSecret":{"clientSecretKey":"client-secret","name":""},"scopes":["openid","profile","email"],"usernameClaim":"name"},"azure":{"clientId":"","clientSecret":"","enabled":false,"existingSecret":{"clientSecretKey":"client-secret","name":""},"resourceAppId":"","tenantId":""},"discord":{"clientId":"","clientSecret":"","enabled":false,"existingSecret":{"clientSecretKey":"client-secret","name":""},"serverId":"","serverRoles":[]},"gitea":{"baseUrl":"","clientId":"","clientSecret":"","displayName":"Gitea Connect","enabled":false,"existingSecret":{"clientSecretKey":"client-secret","name":""},"scopes":["openid","profile","email"],"usernameClaim":"preferred_username"},"github":{"appId":"","appName":"","appPrivateKey":"","clientId":"","clientSecret":"","enabled":false,"existingSecret":{"appPrivate

Deploy outline with OpenTenant

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