{"id":18155516,"url":"https://github.com/kitagry/berglas-secret-controller","last_synced_at":"2025-05-05T04:03:25.862Z","repository":{"id":42577475,"uuid":"361346094","full_name":"kitagry/berglas-secret-controller","owner":"kitagry","description":"CustomController of K8s for berglas secret.","archived":false,"fork":false,"pushed_at":"2025-05-02T20:35:10.000Z","size":263,"stargazers_count":8,"open_issues_count":11,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-05T04:03:06.932Z","etag":null,"topics":["berglas","customcontroller","k8s","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kitagry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2021-04-25T06:12:34.000Z","updated_at":"2025-02-15T08:30:52.000Z","dependencies_parsed_at":"2024-11-02T04:11:45.712Z","dependency_job_id":null,"html_url":"https://github.com/kitagry/berglas-secret-controller","commit_stats":{"total_commits":42,"total_committers":3,"mean_commits":14.0,"dds":0.2857142857142857,"last_synced_commit":"f4998bbef202b163e3f51afa3b3ab43ca0808fa0"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitagry%2Fberglas-secret-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitagry%2Fberglas-secret-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitagry%2Fberglas-secret-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitagry%2Fberglas-secret-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kitagry","download_url":"https://codeload.github.com/kitagry/berglas-secret-controller/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252436292,"owners_count":21747470,"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":["berglas","customcontroller","k8s","kubernetes"],"created_at":"2024-11-02T04:11:41.629Z","updated_at":"2025-05-05T04:03:25.837Z","avatar_url":"https://github.com/kitagry.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Berglas Secret Controller\n\n[![Test](https://github.com/kitagry/berglas-secret-controller/actions/workflows/test.yaml/badge.svg)](https://github.com/kitagry/berglas-secret-controller/actions/workflows/test.yaml)\n[![GitHub release](https://img.shields.io/github/v/tag/kitagry/berglas-secret-controller.svg?sort=semver)](https://github.com/kitagry/berglas-secret-controller/releases)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Coverage Status](https://coveralls.io/repos/github/kitagry/berglas-secret-controller/badge.svg?branch=main)](https://coveralls.io/github/kitagry/berglas-secret-controller?branch=main)\n\n### What is this?\n\nThis is CustomController of Kubernetes for berglas secret.\nYou can use berglas in Kubernetes to use [Custom Webhook](https://github.com/GoogleCloudPlatform/berglas/tree/main/examples/kubernetes).\nBut, this is a bit invconvinience, because you should grant all ServiceAccount permission of Deployment.\nSo, you should set ServiceAccount every time you create new service.\nThis Berglas Secret Controller can change all berglas secret once you install this.\n\n### Usage\n\nTODO\n\n#### Use in local\n\n1. build this repository\n\n```bash\ngit clone https://github.com/kitagry/berglas-secret-controller\ncd berglas-secret-controller\nmake\n```\n\n2. Create CRD in Kubernetes\n\n```bash\nmake install\n```\n\n3. Run CustomController\n\n```bash\nmake run\n```\n\n4. Create Custom Resource\n\nOpen new terminal window.\n\n```bash\n# Write ./config/samples/batch_v1alpha1_berglassecret.yaml by your favorite editor.\nkubectl apply -f ./config/samples/batch_v1alpha1_berglassecret.yaml\n```\n\n5. Check the secret\n\n```\nkubectl get secret\nkubectl describe secret \u003cBeglasSecret name\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitagry%2Fberglas-secret-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitagry%2Fberglas-secret-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitagry%2Fberglas-secret-controller/lists"}