Is `config.sessionStartupCustom` possible on Workbench?
Nobody has claimed this yet.
- Dominant language
- Markdown
- Stars
- 46
- Forks
- 40
- Avg merge
- 4h 3m
- Merged PRs (30d)
- 6
Description
The Workbench Helm chart currently has a config.startupCustom key. For example:
Would it be possible to have scripts that run when a IDE session starts? The motivation for this is a want to create a symlink on the session container before the IDE starts. For example:
config:
session:
repos.conf:
RSPM: https://packagemanager.rstudio.com/cran/__linux__/jammy/latest
CRAN: https://packagemanager.rstudio.com/cran/__linux__/jammy/latest
sessionStartupCustom:
symlink-odbc.sh: |
#!/bin/bash
ln -s /mnt/session-secret/odbc.ini /ect/odbc.ini
sessionSecret:
odbc.ini: |
[ProjectAbcDatabase]
Database=project_abc
Driver=PostgreSQL
Password=password
Port=5432
Servername=database-postgresql
UserName=posit_team
Or maybe there is a way to already do this?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Workbench Helm chart values.yaml example at the linked lines and trace how config.startupCustom is handled. Determine whether an equivalent sessionStartupCustom setting can be supported for IDE session startup, and verify that the documented symlink example runs before the session starts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm
- Domain
- infrastructure
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100