bitovi / bitovi/bitops

overrideable property for bitops schemas

Open
#137 0 comments 0 reactions 0 assignees View on GitHub
schema
Dominant language
Python
Stars
37
Forks
9
PR merge metrics
No merged PRs in 30d

Description

originally mentioned here: https://github.com/bitovi/bitops/issues/136#issuecomment-1005850857

It would be nice to have an import_env or overriddeable property to the schema to essentially say if the export_env variable is already set, use it's value instead of what is defined in bitops.config.yaml
https://github.com/bitovi/bitops/blob/master/scripts/helm/bitops.schema.yaml#L7-L11

This means we could do
```
docker run \
-e NAMESPACE="foo" \
... \
bitops:latest
```

and it would ignore what is in `bitops.config.yaml`'s `namespace:` config

Contributor guide

Open the contributing guide

Research direction

Start with scripts/helm/bitops.schema.yaml, then trace how bitops.config.yaml and the Docker environment are read. Verify the schema supports an overrideable or import_env property and that an existing NAMESPACE value takes precedence over the configured namespace when running the BitOps image.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, helm, python
Domain
devops, infrastructure
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.