temporalio / temporalio/temporal

Ability to disable dynamic config in auto-setup docker image

Open
#2,482 0 comments 1 reaction 1 assignee View on GitHub

@alexshtin is already working on this.

Since Feb 11, 2022.

enhancement
Dominant language
Go
Stars
23.2k
Forks
1.9k
Avg merge
2d 8h
Merged PRs (30d)
228

Description

I tried to launch auto-setup docker image without DYNAMIC_CONFIG_FILE_PATH env var and got an error.

Expected Behavior

Server started without dynamic configuration features.

Actual Behavior

Server startup failed with Unable to create dynamic config client. Error: unable to read dynamic config: dynamic config file: /etc/temporal/config/dynamicconfig: read /etc/temporal/config/dynamicconfig: is a directory error.

Specifications

Image: temporalio/auto-setup:1.14.4

PS

Looks like a bug in config_template.yaml: segment dynamicConfigClient should be wrapped with {{- if .Env.DYNAMIC_CONFIG_FILE_PATH }}.
Ready for PR.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.