{"id":37176263,"url":"https://github.com/agill17/s3-operator","last_synced_at":"2026-01-14T20:34:10.446Z","repository":{"id":47180164,"uuid":"144485130","full_name":"agill17/s3-operator","owner":"agill17","description":"☁️ ⎈ A kubernetes operator to  create/manage AWS S3 bucket","archived":false,"fork":false,"pushed_at":"2023-02-14T15:54:47.000Z","size":20242,"stargazers_count":15,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"master-old","last_synced_at":"2024-06-19T17:50:44.351Z","etag":null,"topics":["kubernetes","kubernetes-operator","operator-framework","operator-sdk","operators","s3-operator"],"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/agill17.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":"2018-08-12T17:01:53.000Z","updated_at":"2023-07-04T04:58:43.000Z","dependencies_parsed_at":"2024-06-19T17:11:32.526Z","dependency_job_id":"4c85ee2c-b4ae-4ec9-bb9d-a09ba3e31a9e","html_url":"https://github.com/agill17/s3-operator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/agill17/s3-operator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agill17%2Fs3-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agill17%2Fs3-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agill17%2Fs3-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agill17%2Fs3-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agill17","download_url":"https://codeload.github.com/agill17/s3-operator/tar.gz/refs/heads/master-old","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agill17%2Fs3-operator/sbom","scorecard":{"id":170629,"data":{"date":"2025-08-11","repo":{"name":"github.com/agill17/s3-operator","commit":"09572fc8a7a716b763760dfdd6d972c7490803db"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/agill17/s3-operator/main.yml/master-old?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/agill17/s3-operator/main.yml/master-old?enable=pin","Warn: containerImage not pinned by hash: build/Dockerfile:1: pin your Docker image by updating alpine:3.8 to alpine:3.8@sha256:2bb501e6173d9d006e56de5bce2720eb06396803300fe1687b58a7ff32bf4c14","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master-old'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0391 / GHSA-6jvc-q2x7-pchv / GHSA-76wf-9vgp-pj7w","Warn: Project is vulnerable to: GO-2022-0635 / GHSA-7f33-f4f5-xwgw","Warn: Project is vulnerable to: GO-2022-0646 / GHSA-f5pg-7wfw-84q9","Warn: Project is vulnerable to: GO-2024-2748 / GHSA-33c5-9fx5-fvjm","Warn: Project is vulnerable to: GO-2021-0065 / GHSA-jmrx-5g74-6v2f","Warn: Project is vulnerable to: GO-2021-0064 / GHSA-8cfg-vx93-jvxw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T16:20:58.770Z","repository_id":47180164,"created_at":"2025-08-16T16:20:58.770Z","updated_at":"2025-08-16T16:20:58.770Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["kubernetes","kubernetes-operator","operator-framework","operator-sdk","operators","s3-operator"],"created_at":"2026-01-14T20:34:09.698Z","updated_at":"2026-01-14T20:34:10.430Z","avatar_url":"https://github.com/agill17.png","language":"Go","readme":"# S3 Operator\r\n\r\n### Current status\r\nMoving to kubebuilder. Refactor work can be found [here](https://github.com/agill17/s3-operator/tree/master).\r\n\r\n### Overview\r\nA kubernetes operator to create and manage AWS S3 buckets from single control plane. The operator needs AWS access credentials\r\nto manage other resources. It needs permissions to IAM and S3. When a CR is created, the operator will create IAM user\r\nwith a inline policy to allow all S3 actions ONLY on the specified S3 bucket ( this way the IAM user being created only has \r\naccess to perform actions against the bucket that gets created). The operator also generates and manages AWS creds for that \r\nIAM user in a kubernetes secret within the same namespace. If the creds no longer match with the one on AWS, the secret will\r\nget updated with correct access keys. Users also have ability to get new fresh pair of Access keys by simply deleting\r\nthe kubernetes secret created by the operator. Finally S3 bucket is created and kept up to date. If the CR is deleted, all \r\nthe IAM resources and S3 resources will get deleted with it.\r\n\r\n### Installation\r\n-  Helm Chart ( Helm v3 )\r\n```\r\n  kubectl create ns s3-operator\r\n```\r\n```\r\n  helm upgrade s3-operator \\\r\n        chart/s3-operator \\\r\n        --install --force --namespace=s3-operator \\\r\n        --set AWS_ACCESS_KEY_ID=\u003cYOUR_ACCESS_KEY\u003e \\\r\n        --set AWS_SECRET_ACCESS_KEY=\u003cYOUR_SECRET_ACCESS_KEY\u003e\r\n```\r\n- Sample S3 CR can be found [here](https://github.com/agill17/s3-operator/blob/master/deploy/crds/agill.apps_v1alpha1_s3_cr.yaml)\r\n\r\n### Features\r\n|Features                               | Create | Delete   | Update |\r\n|---------------------------------------|--------|----------|--------|\r\n| S3 Bucket                             | ✅     | ✅     |       |\r\n| Bucket Versioning                     | ✅     | ✅     | ✅    |\r\n| Bucket Transfer Acceleration          | ✅     | ✅     | ✅    |\r\n| Bucket Canned ACL                     | ✅     | ✅     | ✅    |\r\n| Bucket Policy                         | ✅     | ✅     | ✅    |\r\n| S3 Object Locking ( only on create)   | ✅     |        |        |\r\n| Bucket Transfer Acceleration          | ✅     | ✅     | ✅    |\r\n| Kubernetes service for s3             | ✅     | ✅     | ✅    |\r\n| IAM user                              | ✅     | ✅     | ✅    |\r\n| IAM user restricted access to bucket  | ✅     | ✅     | ✅    |\r\n| IAM user access keys                  | ✅     | ✅     | ✅    |\r\n| IAM user access keys in k8s secret    | ✅     | ✅     | ✅    |\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n### Additional Notes\r\n- Rotate IAM access keys by deleting k8s secret.\r\n- In addition to event based trigger to reconcile, a periodic sync is also in place to reconcile every n seconds.\r\n    - Default periodic sync period is set to 300 seconds.\r\n    - Can be changed by update `syncPeriod` env variable in operator deployment.\r\n\r\n### TODO\r\n- Add tags to cloud resources ( as a way to own them ), this way if user or bucket already exists and does not have tags, operator should complain and not perform any actions on it.\r\n- More bucket properties...\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagill17%2Fs3-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagill17%2Fs3-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagill17%2Fs3-operator/lists"}