{"id":31768934,"url":"https://github.com/dexxiez/cert-manager-webhook-bunny","last_synced_at":"2025-10-10T02:22:52.172Z","repository":{"id":318122832,"uuid":"1070049303","full_name":"dexxiez/cert-manager-webhook-bunny","owner":"dexxiez","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-05T07:42:39.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-05T09:15:08.984Z","etag":null,"topics":["bunnycdn","bunnydns","cert-manager-webhook"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dexxiez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-05T06:41:49.000Z","updated_at":"2025-10-05T08:13:13.000Z","dependencies_parsed_at":"2025-10-05T09:15:15.733Z","dependency_job_id":"ed460703-bdf5-4184-9dc2-ea3226506552","html_url":"https://github.com/dexxiez/cert-manager-webhook-bunny","commit_stats":null,"previous_names":["dexxiez/cert-manager-webhook-bunny"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/dexxiez/cert-manager-webhook-bunny","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexxiez%2Fcert-manager-webhook-bunny","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexxiez%2Fcert-manager-webhook-bunny/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexxiez%2Fcert-manager-webhook-bunny/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexxiez%2Fcert-manager-webhook-bunny/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dexxiez","download_url":"https://codeload.github.com/dexxiez/cert-manager-webhook-bunny/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dexxiez%2Fcert-manager-webhook-bunny/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002539,"owners_count":26083399,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bunnycdn","bunnydns","cert-manager-webhook"],"created_at":"2025-10-10T02:22:49.223Z","updated_at":"2025-10-10T02:22:52.165Z","avatar_url":"https://github.com/dexxiez.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bunny.net Webhook for Cert-Manager\n\nThis is a webhook solver for [cert-manager](https://cert-manager.io) that allows you to use [Bunny.net DNS](https://bunny.net) for DNS01 ACME challenges.\n\n## Features\n\n- Automatic zone detection - no need to specify zone IDs\n- Zone ID caching for improved performance\n- Secure API key storage using Kubernetes secrets\n\n## Installation\n\n### Prerequisites\n\n- Kubernetes cluster with cert-manager installed\n- Bunny.net account with DNS zones configured\n- Bunny.net API key\n\n### Install the webhook\n\nAdd the Helm repository:\n\n```bash\nhelm repo add bunny-webhook https://dexxiez.github.io/cert-manager-webhook-bunny\nhelm repo update\n```\n\nInstall the webhook:\n\n```bash\nhelm install bunny-webhook bunny-webhook/bunny-webhook --namespace cert-manager\n```\n\n### Create a secret with your Bunny.net API key\n\n```bash\nkubectl create secret generic bunny-credentials \\\n  --from-literal=api-key=YOUR_BUNNY_API_KEY \\\n  --namespace cert-manager\n```\n\n## Usage\n\n### Create an Issuer\n\nCreate a cert-manager `Issuer` or `ClusterIssuer` that uses the Bunny.net webhook:\n\n```yaml\napiVersion: cert-manager.io/v1\nkind: Issuer\nmetadata:\n  name: letsencrypt-bunny\n  namespace: default\nspec:\n  acme:\n    server: https://acme-v02.api.letsencrypt.org/directory\n    email: your-email@example.com\n    privateKeySecretRef:\n      name: letsencrypt-bunny-account-key\n    solvers:\n    - dns01:\n        webhook:\n          groupName: acme.bunny.net\n          solverName: bunny\n          config:\n            apiKeySecretRef:\n              name: bunny-credentials\n              key: api-key\n```\n\n### Request a certificate\n\n```yaml\napiVersion: cert-manager.io/v1\nkind: Certificate\nmetadata:\n  name: example-com\n  namespace: default\nspec:\n  secretName: example-com-tls\n  issuerRef:\n    name: letsencrypt-bunny\n  dnsNames:\n  - example.com\n  - '*.example.com'\n```\n\n## Configuration\n\nThe webhook accepts the following configuration:\n\n- `apiKeySecretRef`: Reference to a Kubernetes secret containing your Bunny.net API key\n  - `name`: Name of the secret\n  - `key`: Key within the secret that contains the API key\n\nThe webhook will automatically:\n1. Look up your Bunny.net DNS zones\n2. Find the appropriate zone for the domain being validated\n3. Create the required TXT record for ACME validation\n4. Clean up the TXT record after validation\n\n## Test\n\n### Running the test suite\n\nAll DNS providers **must** run the DNS01 provider conformance testing suite.\n\n```bash\nTEST_ZONE_NAME=example.com. make test\n```\n\nYou'll need to configure the test environment with your Bunny.net credentials for the tests to pass.\n\n### Building\n\nBuild the webhook container:\n\n```bash\nmake build\n```\n\n## How it works\n\nThe webhook implements the cert-manager DNS01 challenge solver interface:\n\n1. **Zone Detection**: When a certificate is requested, the webhook queries the Bunny.net API to list all your DNS zones and finds the one matching your domain\n2. **Zone Caching**: Zone IDs are cached in memory to reduce API calls\n3. **Record Creation**: Creates a TXT record with the ACME challenge token\n4. **Validation**: cert-manager validates the challenge by checking the DNS record\n5. **Cleanup**: After validation, the webhook deletes the TXT record\n\n## License\n\nSee [LICENSE](LICENSE) file.\n\n## Credits\n\nThis webhook is based on the [cert-manager webhook template](https://github.com/cert-manager/webhook-example).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdexxiez%2Fcert-manager-webhook-bunny","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdexxiez%2Fcert-manager-webhook-bunny","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdexxiez%2Fcert-manager-webhook-bunny/lists"}