configurr

Crates.ioconfigurr
lib.rsconfigurr
version1.0.0
sourcesrc
created_at2023-08-05 17:21:05.100012
updated_at2023-08-05 17:21:05.100012
descriptionSimple k8s watcher to copy a file into a configmap
homepage
repositoryhttps://github.com/protryon/configurr
max_upload_size
id936621
size56,442
Max Bruce (Protryon)

documentation

README

configurr

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.

Motivation

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.

Example Deployment

Check out the examples dir for a deployment example.

The docker image is publicly published at protryon/configurr:1.0.0.

Commit count: 2

cargo fmt