{"id":21296871,"url":"https://github.com/reddec/minio-ext-operator","last_synced_at":"2025-03-15T17:27:22.843Z","repository":{"id":81702560,"uuid":"552763933","full_name":"reddec/minio-ext-operator","owner":"reddec","description":"MINIO kubernetes operator for remote instances","archived":false,"fork":false,"pushed_at":"2022-10-26T04:23:11.000Z","size":77,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-09T00:06:39.188Z","etag":null,"topics":["kuberenetes","minio","minio-operator","operator","operator-sdk"],"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/reddec.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":"2022-10-17T07:35:30.000Z","updated_at":"2022-10-17T16:29:16.000Z","dependencies_parsed_at":"2024-02-06T03:01:05.957Z","dependency_job_id":null,"html_url":"https://github.com/reddec/minio-ext-operator","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"d7affcee120146a5e18bc2c3d0b5e984cc89c338"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fminio-ext-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fminio-ext-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fminio-ext-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reddec%2Fminio-ext-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reddec","download_url":"https://codeload.github.com/reddec/minio-ext-operator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243764941,"owners_count":20344504,"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":["kuberenetes","minio","minio-operator","operator","operator-sdk"],"created_at":"2024-11-21T14:30:17.654Z","updated_at":"2025-03-15T17:27:22.808Z","avatar_url":"https://github.com/reddec.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minio-ext-operator\n\nCreates bucket, user, and policy in Minio.\n\n## Description\n\nReflects CRD as Minio objects.\n\n**Create user**\n\n```yaml\napiVersion: minio.k8s.reddec.net/v1alpha1\nkind: User\nmetadata:\n  name: user-sample # user name in minio\nspec:\n  secretName: my-user # optional, default to \u003cCRD-name\u003e-minio\n```\n\nSecret contains:\n\n- `AWS_ACCESS_KEY_ID`\n- `AWS_SECRET_ACCESS_KEY`\n\n\n**Create bucket**\n\n```yaml\napiVersion: minio.k8s.reddec.net/v1alpha1\nkind: Bucket\nmetadata:\n  name: bucket-sample # bucket name in minio\nspec:\n  retain: false # optional (default: false) - do not remove bucket after CRD removal\n  public: false # optional (default: false) - allow anonymous GetObject (download only)\n```\n\n- even if `public: true` directory listing is not allowed\n\n**Create policy**\n\n```yaml\napiVersion: minio.k8s.reddec.net/v1alpha1\nkind: Policy\nmetadata:\n  name: policy-sample\nspec:\n  bucket: public # bucket name\n  user: my-user # username (key_id)\n  read: false # read permissions\n  write: true # write permissions\n```\n\n- `read: true` with `write: true` is special case and means all operations are allowed.\n\nIt is **namespaced** operator, which requires independent installation for each namespace. Check [example](example).\n\n## Getting Started\n\n### Install operator template\n\n```bash\ncurl -L https://github.com/reddec/minio-ext-operator/releases/latest/download/minio-ext-operator.tar.gz | \\\ntar zxf -\n```\n\n### Setup environment and variables\n\n- `kustomization.yaml` - namespace\n- `patch_env.yaml` - secrets and endpoints\n- `secrets.yaml` - minio admin user and password\n\nFeel free to adjust kustomize as much as you wish\n\n* Create manifests\n\n## License\n\nCopyright 2022 Aleksandr Baryshnikov.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddec%2Fminio-ext-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freddec%2Fminio-ext-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freddec%2Fminio-ext-operator/lists"}