Missing environment values for microservices deployment

Open
#82 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
helm, kubernetes

Research direction

Read templates/chat-deployment.yaml around the referenced block at line 124 and compare it with the microservices prerequisites documentation. Render or inspect the chart with default values to verify that DISABLE_DB_WATCH, DISABLE_PRESENCE_MONITOR, and INTERNAL_SERVICES_ONLY are present alongside TRANSPORTER in the deployment environment; done means all four values are supplied as expected.

Written by the indexing model from the issue text.

Description

According to the documentation,microservices deployment should have the following environment values :

Variable Value Description
TRANSPORTER nats://nats:4222 NATS address
DISABLE_DB_WATCH true Disables internal DB watcher and rely on mongodb-stream-hub
DISABLE_PRESENCE_MONITOR true Disables presence monitoring and rely on the presence-service
INTERNAL_SERVICES_ONLY true Do not run external services on rocket.chat process

However, only TRANSPORTER is added in the following block, thus requiring to manually set environment variables in values :

extraEnv:
  DISABLE_DB_WATCH: true
  DISABLE_PRESENCE_MONITOR: true
  INTERNAL_SERVICES_ONLY: true

Could these three be added to the same block ?

Dominant language
Shell
Stars
48
Forks
83
Avg merge
2m
Merged PRs (30d)
1

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from RocketChat/helm-charts

All issues in RocketChat/helm-charts

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.