Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add helm chart to support k8s deployment #671

Merged
merged 7 commits into from
Jul 1, 2024
Merged

Conversation

tea-artist
Copy link
Contributor

@tea-artist tea-artist commented Jun 21, 2024

Teable deployment template containing all services

  • Teable
  • Postgres
  • Minio & Minio Console
  • Redis
  • Access the Base database connection externally
  • Generated secret and password
  • Tls config

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
Copy link
Collaborator

coveralls commented Jun 21, 2024

Pull Request Test Coverage Report for Build 9611562562

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 18.682%

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

💛 - Coveralls

@coveralls
Copy link
Collaborator

coveralls commented Jun 21, 2024

Pull Request Test Coverage Report for Build 9611562557

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+64.0%) to 82.692%

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

💛 - Coveralls

@tea-artist tea-artist merged commit f1b8685 into develop Jul 1, 2024
3 checks passed
@tea-artist tea-artist deleted the deploy/helm branch July 1, 2024 06:34
@coveralls
Copy link
Collaborator

coveralls commented Jul 1, 2024

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

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 18.418%

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

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants