teableio / teable

✨ The Next Gen Airtable Alternative: No-Code Postgres
https://teable.io
GNU Affero General Public License v3.0
7.61k stars 306 forks source link

feat: add helm chart to support k8s deployment #671

Closed tea-artist closed 8 hours ago

tea-artist commented 1 week ago

Teable deployment template containing all services

How to use

Create a extends.yaml file

# tls is strongly recommended to enable copy & paste functionality
ingress:
  tls: true
  enabled: true
  hostname: teable.example.com # your domain
  annotations:
    cert-manager.io/cluster-issuer: "example-issuer-key" # your tls issuer key

# enable attachment upload
minio:
  apiIngress:
    tls: true
    enabled: true
    hostname: sss-teable.example.com # your storage service domain (attachment and avatars etc.)
    annotations:
      cert-manager.io/cluster-issuer: "example-issuer-key" # your tls issuer key
  # optional, enable the minio admin UI
  ingress:
    tls: true
    enabled: true
    hostname: console-teable.example.com # your minio admin UI domain
    annotations:
      cert-manager.io/cluster-issuer: "example-issuer-key" # your tls issuer key

# enable base public db connection for the app
postgresql:
  primary:
    service:
      type: NodePort
      nodePorts:
        postgresql: 30036 # NOTE: choose port between <30000-32767>

config:
  # config this to enable email sending
  mail:
    host: null
    port: null
    secure: true
    sender: teable.localhost
    senderName: Teable
    auth:
      username: null
      password: null

Generate yaml file

helm template my-release ./teable/dockers/examples/helm --namespace teable -f extends.yaml > my-release.yaml

Apply to k8s

kubectl apply -f my-release.yaml
coveralls commented 1 week ago

Pull Request Test Coverage Report for Build 9611562562

Details


Totals Coverage Status
Change from base Build 9595234447: 0.0%
Covered Lines: 13868
Relevant Lines: 74230

💛 - Coveralls
coveralls commented 1 week ago

Pull Request Test Coverage Report for Build 9611562557

Details


Totals Coverage Status
Change from base Build 9595234447: 64.0%
Covered Lines: 26148
Relevant Lines: 31621

💛 - Coveralls
coveralls commented 7 hours ago

Pull Request Test Coverage Report for Build 9739345794

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Totals Coverage Status
Change from base Build 9737612205: 0.0%
Covered Lines: 13872
Relevant Lines: 75317

💛 - Coveralls