Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/camptocamp/operator-shared-config-manager
https://github.com/camptocamp/operator-shared-config-manager
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/camptocamp/operator-shared-config-manager
- Owner: camptocamp
- License: bsd-2-clause
- Created: 2021-06-24T10:50:50.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-08-12T05:34:47.000Z (3 months ago)
- Last Synced: 2024-08-12T13:43:51.320Z (3 months ago)
- Language: Python
- Size: 975 KB
- Stars: 1
- Watchers: 17
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - camptocamp/operator-shared-config-manager - (Python)
README
# Shared config operator
This operator can be used to build a ConfigMap that contains one yaml file, with part of config
that can come from other namespaces.## Install
```
helm repo add operator-shared-config-manager https://camptocamp.github.io/operator-shared-config-manager/
helm install my-release operator-shared-config-manager
```## Example
With the following [source](./tests/source.yaml) and [config](./tests/config.yaml), a Config map will be build with the same name and namespace of the config, with a file with the name as the `configmap_name` of the config, that contains:
```
:
:
```with the real values:
```
sources:
test:
type: git
repo: [email protected]:camptocamp/test.git
branch: master
key: admin1234
sub_dir: dir
template_engines:
- type: shell
environment_variables: true
data:
TEST: test
```## Contributing
Install the pre-commit hooks:
```bash
pip install pre-commit
pre-commit install --allow-missing-config
```