{"id":19096601,"url":"https://github.com/sapcc/git-cert-shim","last_synced_at":"2025-04-14T03:34:30.730Z","repository":{"id":41954475,"uuid":"297605119","full_name":"sapcc/git-cert-shim","owner":"sapcc","description":"Automatic management of certificates not related to Kubernetes resources via a github repository.","archived":false,"fork":false,"pushed_at":"2025-04-12T16:59:01.000Z","size":261,"stargazers_count":2,"open_issues_count":11,"forks_count":0,"subscribers_count":50,"default_branch":"master","last_synced_at":"2025-04-12T17:44:10.907Z","etag":null,"topics":["cert-manager","certificate","kubernetes","tls"],"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/sapcc.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}},"created_at":"2020-09-22T09:47:48.000Z","updated_at":"2025-03-25T08:08:04.000Z","dependencies_parsed_at":"2025-02-27T18:42:22.089Z","dependency_job_id":"938f3303-d02f-4ad2-b9b0-2f1d4f851c86","html_url":"https://github.com/sapcc/git-cert-shim","commit_stats":{"total_commits":33,"total_committers":4,"mean_commits":8.25,"dds":0.4242424242424242,"last_synced_commit":"e98fd42dd1b6c48c869a58df8029ae253c906be0"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fgit-cert-shim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fgit-cert-shim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fgit-cert-shim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fgit-cert-shim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sapcc","download_url":"https://codeload.github.com/sapcc/git-cert-shim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248816567,"owners_count":21166104,"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":["cert-manager","certificate","kubernetes","tls"],"created_at":"2024-11-09T03:37:12.568Z","updated_at":"2025-04-14T03:34:30.705Z","avatar_url":"https://github.com/sapcc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-cert-shim\n\nThe git-cert-shim extends the [cert-manager](https://github.com/jetstack/cert-manager) and enables \nautomating management of certificates configured via a Github repository.\n\nThe controller watches the configured Github repository for files containing certificate configurations and\nmanages [cert-manager resources](https://cert-manager.io/docs/usage/certificate) in the current Kubernetes cluster.  \nOnce the certificate was issued or renewed, it is kept in sync with the github repository.\n\n## Usage \u0026 Configuration\n\nMandatory configuration:\n```\n// The file containing the certificate configuration. (default \"git-cert-shim.yaml\")\n--config-file-name\n\n// The remote URL of the github repository.\n--git-remote-url\n\n// The group of the issuer used to sign certificate requests.\n--default-issuer-group string\n\n// The kind of the issuer used to sign certificate requests.\n--default-issuer-kind string\n\n// The name of the issuer used to sign certificate requests.\n--default-issuer-name string\n\n// Trigger renewal of the certificate if they would expire in less than the configured duration. \n// *Warning*: Only allows min, hour.  (default 720h0m0s)\n--renew-certificates-before duration\n```\n\nAnd choose one authentication method:\n```\n// Github API token. Alternatively, provide via environment variable GIT_API_TOKEN.\n--git-api-token\n\n// Github SSH private key filename. Alternatively, provide via environment variable GIT_SSH_PRIVKEY_FILE.\n--git-ssh-privkey-file\n```\n\nA `git-cert-shim.yaml` might look as follows\n```\ncertificates:\n  - cn: some.thing.tld\n  - cn: foo.bar.tld\n    sans:\n      - baz.bar.tld\n```\n\nThe resulting files containing the certificate and private key will be named after the certificates common name, e.g. `some-thing-tld.pem`, `some-thing-tld-key.pem` and are stored in the same folder as the configuration.\n\n# Installation\n\nSee the provided [kustomize base](config) and provide the required secrets.  \nRun `make install` to deploy the git-cert-shim to the current cluster.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapcc%2Fgit-cert-shim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsapcc%2Fgit-cert-shim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapcc%2Fgit-cert-shim/lists"}