{"id":23291474,"url":"https://github.com/guycole/elder-grater","last_synced_at":"2026-04-12T02:32:35.806Z","repository":{"id":221775928,"uuid":"741723572","full_name":"guycole/elder-grater","owner":"guycole","description":"EKS IRSA demonstration","archived":false,"fork":false,"pushed_at":"2024-03-27T22:11:39.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T17:52:14.723Z","etag":null,"topics":["aws","eks","go","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guycole.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-01-11T01:23:05.000Z","updated_at":"2024-02-10T20:29:06.000Z","dependencies_parsed_at":"2024-03-31T11:46:35.959Z","dependency_job_id":null,"html_url":"https://github.com/guycole/elder-grater","commit_stats":null,"previous_names":["guycole/elder-grater"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/guycole/elder-grater","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guycole%2Felder-grater","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guycole%2Felder-grater/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guycole%2Felder-grater/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guycole%2Felder-grater/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guycole","download_url":"https://codeload.github.com/guycole/elder-grater/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guycole%2Felder-grater/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259786632,"owners_count":22911017,"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":["aws","eks","go","kubernetes"],"created_at":"2024-12-20T05:18:09.285Z","updated_at":"2026-04-12T02:32:30.782Z","avatar_url":"https://github.com/guycole.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# elder-grater\nEKS IRSA demonstration to access S3 and SQS\n\n1. Build the application and deploy it to a container registry (i.e. AWS ECR, DockerHub, etc)\n1. Create an IAM role \"elder-grater\" \n    1. From AWS console, select IAM and \"Create role\"\n    1. Check \"Web identity\" \n        1. Identity provider is your EKS cluster\n            1. Has the form \"oidc.eks.region.amazonaws.com/id/many-hex-characters\"\n        1. Audience\n            1. \"sts.amazonaws.com\"\n    1. Select \"Next\"\n    1. Add permissions\n        1. AmazonS3FullAccess\n        1. AmazonSQSFullAccess\n    1. Select \"Next\"\n    1. Add role name \"elder-grater\"\n    1. Select \"Create role\"\n    1. [example](https://github.com/guycole/elder-grater/blob/main/iam_role.json)\n1. Deploy the k8s ServiceAccount\n    1. Edit [service_account.yaml](https://github.com/guycole/elder-grater/blob/main/service_account.yaml)\n        1. Change \"replace-me\" with your AWS account number\n    1. Deploy the SA (\"kubectl apply -f service_account.yaml\")\n1. Deploy the pod\n    1. Edit [deployment.yaml](https://github.com/guycole/elder-grater/blob/main/deployment.yaml)\n        1. Update image spec to reflect true location\n    1. Deploy the pod (\"kubectl apply -f deployment.yaml\")\n1. Review the log\n    1. \"kubectl logs elder-grater -f\"\n    1. Success means you see happy AWS login and SQS/S3 information\n1. Cleanup\n    1. kubectl delete -f pod.yaml\n    1. kubectl delete -f service_account.yaml\n    1. Delete the IAM role \"elder grater\" via AWS console\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguycole%2Felder-grater","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguycole%2Felder-grater","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguycole%2Felder-grater/lists"}