{"id":47595730,"url":"https://github.com/syself/readonly-kubernetes-service-account","last_synced_at":"2026-04-01T18:04:08.478Z","repository":{"id":345762097,"uuid":"1187266874","full_name":"syself/readonly-kubernetes-service-account","owner":"syself","description":"Create a Readonly Kubernetes ServiceAccount","archived":false,"fork":false,"pushed_at":"2026-03-20T15:20:02.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-21T06:44:03.671Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/syself.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":"2026-03-20T14:28:49.000Z","updated_at":"2026-03-20T15:19:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/syself/readonly-kubernetes-service-account","commit_stats":null,"previous_names":["syself/readonly-kubernetes-service-account"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/syself/readonly-kubernetes-service-account","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syself%2Freadonly-kubernetes-service-account","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syself%2Freadonly-kubernetes-service-account/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syself%2Freadonly-kubernetes-service-account/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syself%2Freadonly-kubernetes-service-account/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/syself","download_url":"https://codeload.github.com/syself/readonly-kubernetes-service-account/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/syself%2Freadonly-kubernetes-service-account/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31290742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-01T13:12:26.723Z","status":"ssl_error","status_checked_at":"2026-04-01T13:12:25.102Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-04-01T18:03:58.095Z","updated_at":"2026-04-01T18:04:08.456Z","avatar_url":"https://github.com/syself.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# readonly-kubernetes-service-account\n\nGenerate YAML for a readonly Kubernetes service account.\n\n## Usage\n\n\u003c!-- usage:start --\u003e\n```text\nUsage: readonly-kubernetes-service-account [flags] \u003csa-name\u003e\nThis tool creates YAML for a service account, which can read all resources, except secrets.\nThe SA gets access to all core resources (except secrets), and all non-core API groups.\nThis tool connects to your cluster, discovers which API resources and API groups exist,\nand uses that information to generate a ClusterRole with readonly permissions.\nIt does not apply changes to the cluster.\nBy default it prints the YAML to stdout. With -o it writes the YAML to a file.\n\nFlags:\n      --binding-name string   name of the generated ClusterRoleBinding\n                              (default: \u003csa-name\u003e-\u003crole-name\u003e)\n  -h, --help                  help for readonly-kubernetes-service-account\n      --namespace string      namespace for the ServiceAccount subject\n                              (default \"default\")\n  -o, --output string         write YAML to file instead of stdout\n      --role-name string      name of the generated ClusterRole (default\n                              \"read-all-except-secrets\")\n\nRun without installing:\n\ngo run github.com/syself/readonly-kubernetes-service-account@latest -o ro-sa.yaml ro-sa\n```\n\u003c!-- usage:end --\u003e\n\n## Feedback?\n\nPlease create an issue if you have an idea for how we could improve this tool.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyself%2Freadonly-kubernetes-service-account","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyself%2Freadonly-kubernetes-service-account","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyself%2Freadonly-kubernetes-service-account/lists"}