ingress-status-sync

Crates.ioingress-status-sync
lib.rsingress-status-sync
version0.0.2
sourcesrc
created_at2021-05-01 02:38:57.603545
updated_at2021-05-01 02:38:57.603545
descriptionA controller for Kubernetes that syncs ingress status with a service
homepage
repositoryhttps://github.com/whatisaphone/ingress-status-sync
max_upload_size
id391777
size46,510
John Simon (whatisaphone)

documentation

README

ingress-status-sync

A Kubernetes controller. It watches for ingresses with the annotation ingress-status-sync.wiaph.one/enabled: 'true'. For each one, it populates .status.loadBalancer.ingress with the IPs of the nodes running a target service.

Usage:

ingress-status-sync \
    --forever \
    --target-service-namespace=ingress-nginx \
    --target-service-name=ingress-nginx-controller

Development

Install prerequisites

Install the pre-commit hook

pre-commit install

This installs a Git hook that runs a quick sanity check before every commit.

Run the app

cargo run

Run the tests

cargo test
Commit count: 11

cargo fmt