MetaCell / MetaCell/cloud-harness

Application env specification should be a map, not list

Open
#705 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue scope:deployment
Dominant language
Python
Stars
19
Forks
5
Avg merge
3d 18h
Merged PRs (30d)
3

Description

Currently the application environment can be specified as a list resembling the list on the kubernetes spec

application/myapp/values.yaml
```yaml
harness:
env:
- name: A
value: avalue
- name: B
value: bvalue
```

The limitation of using a list is that values cannot be overridden in different environments, so if I want to change the A variable in values-dev.yaml I also have to specify B.

In order to make the change backwards compatible can add a new specification

```yaml
harness:
envmap:
A: avalue
B: bvalue
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating how application/myapp/values.yaml and values-dev.yaml currently process the harness.env list, then trace the environment override behavior. Support the proposed harness.envmap form while preserving the existing list specification; done means variable A can be changed without repeating B and both formats remain usable.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.