rstudio / rstudio/helm

rstudio-connect: consider allowing users to set launcher.DataDir instead of config.Launcher.DataDir

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

Nobody has claimed this yet.

team: connect
Dominant language
Markdown
Stars
46
Forks
40
Avg merge
4h 3m
Merged PRs (30d)
6

Description

Some feedback we received during our user testing is that it is not always clear which configurations are required when launcher.enabled = true. For example, config.Launcher.DataDir must be set when launcher is enabled. Since there is already a precedent of modifying config.Launcher based on the value of launcher.enabled, would we also consider allowing users to set a DataDir under the launcher configuration in lieu of setting config.Launcher.DataDir. This would keep our launcher-related configs in one place and hopefully avoid some of that confusion.

We might also consider adding a check for if launcher.enabled, then launcher.DataDir must be defined. This leads to a connect startup error, but we could check for this in the chart instead.

Error: Launcher.ConnectDir and Launcher.DataDir must be configured to use Kubernetes.

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.

Research direction

Start by tracing how launcher.enabled and config.Launcher.DataDir are represented in the Helm chart values and rendered configuration. Determine how a launcher-local DataDir should map to the existing Launcher.DataDir, then verify that enabling the launcher without a required directory produces a clear chart or startup error.

Written by the indexing model from the issue text.

Assessment

Tech stack
helm, kubernetes
Domain
devops, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.