misePTR (PTR-updater) is a lightweight Kubernetes controller that watches new nodes and automatically updates their PTR records (reverse DNS) through provider APIs like Vultr.
- 👀 Watch Kubernetes Node events in real-time
- 🌍 Update PTR (reverse DNS) records automatically
- 🔌 Pluggable provider system (default: Vultr)
- 🧪 Full integration testing with envtest
- ⚡ Built with Go, no CRDs required
make build
./bin/miseptr watch --provider vultr --suffix example.com
✅ Connects automatically to in-cluster Kubernetes or local ~/.kube/config
.
Flag | Description | Default |
---|---|---|
--provider |
Provider backend (e.g., vultr ) |
vultr |
--suffix |
Suffix for PTR template (%s.suffix ) |
required |
Command | Description |
---|---|
miseptr watch |
Watch nodes and update PTR records |
Install setup-envtest and run tests:
make setup-envtest
sudo make fetch-envtest-binaries
make test
✅ This sets up a local Kubernetes control plane for integration testing.
To create a versioned release:
git tag v1.0.0
git push origin v1.0.0
The binary will appear under Releases.
This project is licensed under the MIT License.