workbench launcher.kubernetes.profiles.conf order in yaml doesn't matter, in configuration file its in alphabetical order
Nobody has claimed this yet.
- Dominant language
- Markdown
- Stars
- 46
- Forks
- 40
- Avg merge
- 4h 3m
- Merged PRs (30d)
- 6
Description
In my values.yaml file I have the following configuration:
profiles:
launcher.kubernetes.profiles.conf:
"*":
allow-unknown-images: 0
allow-custom-resources: 0
resource-profiles: small
"@rsw_user":
resource-profiles: small
allow-unknown-images: 0
"@rsw_power":
resource-profiles: small,power
allow-unknown-images: 0
"@rsw_advanced":
resource-profiles: small,power,advanced
allow-unknown-images: 1
allow-custom-resources: 1
If i've understood correctly, the basic idea is that these configurations are iterated from top to bottom, so that the configurations in bottom override configurations in the top. say a user belongs to group rsw_user and rsw_advanced. this way the user should have the permissions defined in rsw_advanced. somehow however, the configuration file which is passed on to the workbench pod via configmap gets sorted in alphabetical order. meaning that in the configuration file, the order becomes: *, rsw_advanced, rsw_power, rsw_user.
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 values.yaml configuration shown in the issue and trace how launcher.kubernetes.profiles.conf is rendered into the ConfigMap passed to the workbench pod. Verify where the profile entries are reordered, then ensure the generated configuration preserves the YAML order so later matching profiles can override earlier ones.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- helm
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100