Crates.io | ingress-status-sync |
lib.rs | ingress-status-sync |
version | 0.0.2 |
source | src |
created_at | 2021-05-01 02:38:57.603545 |
updated_at | 2021-05-01 02:38:57.603545 |
description | A controller for Kubernetes that syncs ingress status with a service |
homepage | |
repository | https://github.com/whatisaphone/ingress-status-sync |
max_upload_size | |
id | 391777 |
size | 46,510 |
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
pre-commit install
This installs a Git hook that runs a quick sanity check before every commit.
cargo run
cargo test