Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/camptocamp/operator-shared-config-manager


https://github.com/camptocamp/operator-shared-config-manager

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

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
```