Add pdbmux: merging PuppetDB proxy daemon #1
Reference in New Issue
Block a user
Delete Branch "benvin/initial"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
pdbmux is split out of node-lookup PR #17 into its own repository. It is a k8s-only service (deployed in-cluster via argocd-apps as a container image), so it warrants a standalone single-binary Go repo rather than living inside the node-lookup CLI/RPM module. This PR seeds the repo with the daemon, its tests, and the build/CI plumbing.
Changes
pdbmuxGo module (module rootmainpackage):main.go(cobra CLI: serve/config/version),config.go(PDBMUX_* env + config-file loading),server.go(fan-out HTTP proxy + /healthz),merge.go(/nodes and /facts merge), plus their_test.gofiles.Makefile(build/test/lint/fmt + patch/minor/major tag-bump targets, version ldflags) andDockerfile(distroless static build,pdbmux serveentrypoint)..woodpecker/:build.yaml+test.yaml(build, golangci-lint,go test -race) andpre-commit.yamlon pull_request as the required status checks;docker.yamlonv*tags builds and pushesgit.unkin.net/unkin/pdbmux:<tag>+:latestvia the docker-buildx plugin (droneci / DRONECI_PASSWORD)..pre-commit-config.yaml,.gitignore, and apdbmux-focusedREADME.md(purpose, endpoints, merge semantics, PDBMUX_* config, k8s deployment via argocd-apps).