{"id":13463827,"url":"https://github.com/estafette/estafette-cloudflare-dns","last_synced_at":"2025-12-30T02:02:28.258Z","repository":{"id":47443202,"uuid":"84323282","full_name":"estafette/estafette-cloudflare-dns","owner":"estafette","description":"Kubernetes controller to set and update dns records in Cloudflare for annotated services and ingresses","archived":false,"fork":false,"pushed_at":"2023-02-25T01:22:31.000Z","size":1270,"stargazers_count":38,"open_issues_count":6,"forks_count":2,"subscribers_count":15,"default_branch":"main","last_synced_at":"2024-10-29T16:21:18.221Z","etag":null,"topics":["cloudflare","dns","golang","kubernetes","kubernetes-service"],"latest_commit_sha":null,"homepage":"https://helm.estafette.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/estafette.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}},"created_at":"2017-03-08T13:29:07.000Z","updated_at":"2024-06-07T02:45:08.000Z","dependencies_parsed_at":"2024-01-13T17:55:58.548Z","dependency_job_id":"ce39e300-9cc0-43bb-be1e-00dbf24a072b","html_url":"https://github.com/estafette/estafette-cloudflare-dns","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estafette%2Festafette-cloudflare-dns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estafette%2Festafette-cloudflare-dns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estafette%2Festafette-cloudflare-dns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estafette%2Festafette-cloudflare-dns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/estafette","download_url":"https://codeload.github.com/estafette/estafette-cloudflare-dns/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245435091,"owners_count":20614827,"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","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":["cloudflare","dns","golang","kubernetes","kubernetes-service"],"created_at":"2024-07-31T14:00:29.041Z","updated_at":"2025-12-30T02:02:28.166Z","avatar_url":"https://github.com/estafette.png","language":"Go","funding_links":[],"categories":["Performance","Go","Operators vs Controllers"],"sub_categories":["Networking"],"readme":"# estafette-cloudflare-dns\n\nThis small Kubernetes application configures dns and proxy settings in Cloudflare for any public service with the correct annotations\n\n[![License](https://img.shields.io/github/license/estafette/estafette-cloudflare-dns.svg)](https://github.com/estafette/estafette-cloudflare-dns/blob/master/LICENSE)\n\n## Why?\n\nIn order not to have to set dns records manually or from deployment scripts this application decouples that responsibility and moves it into the Kubernetes cluster itself.\n\n## Installation\n\nPrepare using Helm:\n\n```\nbrew install kubernetes-helm\nkubectl -n kube-system create serviceaccount tiller\nkubectl create clusterrolebinding tiller --clusterrole=cluster-admin --serviceaccount=kube-system:tiller\nhelm init --service-account tiller --wait\n```\n\nThen install or upgrade with Helm:\n\n```\nhelm repo add estafette https://helm.estafette.io\nhelm upgrade --install estafette-cloudflare-dns --namespace estafette estafette/estafette-cloudflare-dns\n```\n\n## Usage\n\nOnce it's running put the following annotations on a service of type LoadBalancer and deploy. The `estafette-cloudflare-dns` controller will watch changes to services and process those. Once approximately every 300 seconds it also scans all services as a safety net in case an event has been missed.\n\n```yaml\napiVersion: v1\nkind: Service\nmetadata:\n  name: myapplication\n  namespace: mynamespace\n  labels:\n    app: myapplication\n  annotations:\n    estafette.io/cloudflare-dns: \"true\"\n    estafette.io/cloudflare-proxy: \"true\"\n    estafette.io/cloudflare-use-origin-record: \"false\"\n    estafette.io/cloudflare-origin-record-hostname: \"\"\n    estafette.io/cloudflare-hostnames: \"mynamespace.mydomain.com\"\nspec:\n  type: LoadBalancer\n  ports:\n  - name: http\n    port: 80\n    targetPort: http\n    protocol: TCP\n  selector:\n    app: myapplication\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festafette%2Festafette-cloudflare-dns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Festafette%2Festafette-cloudflare-dns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festafette%2Festafette-cloudflare-dns/lists"}