tctl icon indicating copy to clipboard operation
tctl copied to clipboard

Creating config dir fails when ReadOnlyRootFileSystem is true

Open sahilvv opened this issue 2 years ago • 0 comments

What are you really trying to do?

executing tctl from a kubernetes deployment where the temporal-admin-tools container has readOnlyRootFileSystem set to true.

Describe the bug

tctl starting 1.16 keeps trying to create config directory and throws bunch of duplicate messages on console with each command execution.

Minimal Reproduction

[temporal@temporalfrontend-59b6f6584d-f7cb9 bin]$ tctl --ns scratchpad wf start --tq parallel --wt ParallelWorkflow
creating config dir: /home/temporal/.config/temporalio
creating config dir: /home/temporal/.config/temporalio

Environment/Versions

  • OS and processor: Linux
  • Temporal Version: 1.16
  • Are you using Docker or Kubernetes or building Temporal from source? Copying the tctl binary from the public docker image.

Additional context

Slack Thread https://temporalio.slack.com/archives/CTRCR8RBP/p1650401597307829

sahilvv avatar Apr 20 '22 05:04 sahilvv