{"id":21730580,"url":"https://github.com/andy2046/rekonfig","last_synced_at":"2026-04-18T09:31:52.370Z","repository":{"id":57548102,"uuid":"191891878","full_name":"andy2046/rekonfig","owner":"andy2046","description":"up to date configuration for Deployment / StatefulSet / DaemonSet","archived":false,"fork":false,"pushed_at":"2019-06-28T06:30:30.000Z","size":26843,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-20T23:27:32.243Z","etag":null,"topics":["cloud-infrastructure","configmap","daemonset","deployment","kubernetes","operator","operator-sdk","secret","statefulset"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andy2046.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}},"created_at":"2019-06-14T06:56:45.000Z","updated_at":"2019-12-03T05:36:49.000Z","dependencies_parsed_at":"2022-09-26T18:40:23.893Z","dependency_job_id":null,"html_url":"https://github.com/andy2046/rekonfig","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/andy2046/rekonfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andy2046%2Frekonfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andy2046%2Frekonfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andy2046%2Frekonfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andy2046%2Frekonfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andy2046","download_url":"https://codeload.github.com/andy2046/rekonfig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andy2046%2Frekonfig/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269819032,"owners_count":24480087,"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-08-11T02:00:10.019Z","response_time":75,"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":["cloud-infrastructure","configmap","daemonset","deployment","kubernetes","operator","operator-sdk","secret","statefulset"],"created_at":"2024-11-26T04:16:19.917Z","updated_at":"2026-04-18T09:31:47.351Z","avatar_url":"https://github.com/andy2046.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rekonfig\n\nRekonfig monitors `Deployment` and `ConfigMap`/`Secret` mounted, ensures that each `Deployment`'s `Pod` always have up to date configuration.\n\nWhenever a `ConfigMap` or `Secret` is updated, Rekonfig trigger a `Rolling Update` of the `Deployment`.\n\n## Installation\n\nTo deploy Rekonfig to a Kubernetes cluster.\n\n```bash\n$ kubectl apply -f ./deploy\n```\n\n## Configuration\n\nRekonfig watches all `Deployment` within a Kubernetes cluster but only processes those with the annotation `rekonfig.gitops.in/update-on-konfig-change: \"true\"`.\n\nAs shown below, once enabled, Rekonfig will set the configuration hash as an annotation `rekonfig.gitops.in/konfig-hash` on the `Deployment`'s `PodTemplate`.\n\n```yaml\napiVersion: apps/v1beta1\nkind: StatefulSet\nmetadata:\n  annotations:\n    rekonfig.gitops.in/update-on-konfig-change: \"true\"\n  labels:\n    app: my-app\n  name: my-app\n  namespace: default\nspec:\n  replicas: 1\n  selector:\n    matchLabels:\n      app: my-app\n  serviceName: my-app-headless\n  template:\n    metadata:\n      annotations:\n        rekonfig.gitops.in/konfig-hash: \"\u003cSHA256_HASH\u003e\"\n# ...\n```\n\n## Test\n\n```bash\n$ make test\n```\n\n## Build\n\n```bash\n$ make build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandy2046%2Frekonfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandy2046%2Frekonfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandy2046%2Frekonfig/lists"}