Crates.io | configurr |
lib.rs | configurr |
version | 1.0.0 |
source | src |
created_at | 2023-08-05 17:21:05.100012 |
updated_at | 2023-08-05 17:21:05.100012 |
description | Simple k8s watcher to copy a file into a configmap |
homepage | |
repository | https://github.com/protryon/configurr |
max_upload_size | |
id | 936621 |
size | 56,442 |
A simple, lightweight project for when you want to violate one of the core principles of k8s.
What? ConfigMaps are supposed to be read only from the data plane? Nonsense.
This container will check a file for changes, then push them to a ConfigMap. It's designed to be run as a sidecar container in an existing pod.
I really wanted wireguard-ui to be able to configure identical wireguard instances deployed for my entire cluster. I used Reloader to propagate configmap changes to wireguard pod restarts, and then created this project to forward a PVC file change to the configmap.
Check out the examples
dir for a deployment example.
The docker image is publicly published at protryon/configurr:1.0.0
.