dch-webhooks: Enable host provisioning feature

The *dch-webhooks* server now has a _POST /host/online_ hook that can
be triggered by a new machine when it first comes online. This hook
starts an automatic provisioning process by creating a Kubernetes Job
to run Ansible and publishing information about the host to provision
via AMQP.  Thus, the server now needs access to the Kubernetes API in
order to create the Job and access to RabbitMQ in order to publish the
task parameters.
This commit is contained in:
2025-02-08 10:44:19 -06:00
parent 4d11a60e62
commit bed5ed5767
10 changed files with 225 additions and 1 deletions

1
ansible/.gitignore vendored
View File

@@ -1 +1,2 @@
ara/.secrets.toml
host-provisioner.key