{"id":46876934,"url":"https://github.com/sergiorua/kube-tagger","last_synced_at":"2026-03-10T20:58:09.188Z","repository":{"id":51040155,"uuid":"189261799","full_name":"sergiorua/kube-tagger","owner":"sergiorua","description":"Watches for PVC and tags the EBS volume according to annotations","archived":false,"fork":false,"pushed_at":"2024-12-12T20:17:17.000Z","size":102,"stargazers_count":9,"open_issues_count":1,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-12T21:20:52.515Z","etag":null,"topics":["aws","ebs","ebs-volumes","kubernetes","tagging"],"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/sergiorua.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":"2019-05-29T16:30:18.000Z","updated_at":"2024-12-12T20:16:44.000Z","dependencies_parsed_at":"2024-12-12T21:19:50.915Z","dependency_job_id":"cb054fab-ac89-4bc7-b756-0aafb12e29fb","html_url":"https://github.com/sergiorua/kube-tagger","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/sergiorua/kube-tagger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiorua%2Fkube-tagger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiorua%2Fkube-tagger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiorua%2Fkube-tagger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiorua%2Fkube-tagger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergiorua","download_url":"https://codeload.github.com/sergiorua/kube-tagger/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiorua%2Fkube-tagger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30355220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["aws","ebs","ebs-volumes","kubernetes","tagging"],"created_at":"2026-03-10T20:58:08.731Z","updated_at":"2026-03-10T20:58:09.166Z","avatar_url":"https://github.com/sergiorua.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes Volume Tagger\n\n## What?\n\nIt's a simple pod that checks if AWS EBS volumes created by K8s have the AWS tags required.\n\n## How?\n\nOn your volume claims add the tags into annotations like:\n\n```yaml\nannotations:\n  volume.beta.kubernetes.io/additional-resource-tags: Owner=Sergio,Environment=Dev\n```\n\nMultiple tags are `,` separated by default but you can override it with:\n\n```yaml\nannotations:\n  volume.beta.kubernetes.io/additional-resource-tags-separator: \";\"\n```\n\n\nYou may need to grant your EC2 instances permissions to tag volumes. This is the minimal config expected:\n\n```json\n{\n  \"Version\": \"2012-10-17\",\n  \"Statement\": [\n    {\n      \"Effect\": \"Allow\",\n      \"Action\": \"ec2:DescribeVolumes\",\n      \"Resource\": \"*\"\n     },\n     {\n       \"Effect\": \"Allow\",\n       \"Action\": [\n         \"ec2:CreateTags\"\n       ],\n       \"Resource\": \"arn:aws:ec2:*:*:volume/*\",\n       \"Condition\": {\n         \"StringEquals\": {\n             \"ec2:CreateAction\" : \"CreateTags\"\n        }\n      }\n    }\n  ]\n}\n```\n## Deploy\n\n### Manual\n\nSee [kube-tagger.yaml](https://github.com/sergiorua/kube-tagger/blob/master/kube-tagger.yaml) for an example deployment.\n\n```sh\nkubectl apply -f https://raw.githubusercontent.com/sergiorua/kube-tagger/master/kube-tagger.yaml\n```\n\n### Helm\n\n```sh\nhelm repo add sergiorua https://sergiorua.github.io/helm-charts/\nhelm upgrade --install kube-tagger sergiorua/kube-tagger\n```\n\n#### Values\n\n| Key | Type | Default | Description |\n|-----|------|---------|-------------|\n| affinity | object | `{}` |  |\n| extraEnv | object | `{}` |  |\n| global.name | string | `\"kube-tagger\"` |  |\n| global.namespace | string | `\"kube-system\"` |  |\n| image.backoffLimit | int | `3` |  |\n| image.containerPort | int | `8080` |  |\n| image.namespace | string | `\"kube-system\"` |  |\n| image.pullPolicy | string | `\"IfNotPresent\"` |  |\n| image.repository | string | `\"sergrua/kube-tagger\"` |  |\n| image.tag | string | `\"release-0.0.9\"` |  |\n| nodeSelector | object | `{}` |  |\n| podAnnotations | object | `{}` |  |\n| rbac.create | bool | `true` |  |\n| rbac.pspEnabled | bool | `false` |  |\n| replicas | int | `1` |  |\n| resources | object | `{}` |  |\n| serviceAccount.annotations | object | `{}` |  |\n| serviceAccount.create | bool | `true` |  |\n| tolerations | list | `[]` |  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergiorua%2Fkube-tagger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergiorua%2Fkube-tagger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergiorua%2Fkube-tagger/lists"}