{"id":20448914,"url":"https://github.com/koslib/helm-eks-action","last_synced_at":"2025-09-06T03:34:50.707Z","repository":{"id":39860135,"uuid":"282307685","full_name":"koslib/helm-eks-action","owner":"koslib","description":"The simplest Github Action for  executing Helm commands on EKS - cluster authentication included","archived":false,"fork":false,"pushed_at":"2024-03-20T13:45:56.000Z","size":87,"stargazers_count":64,"open_issues_count":4,"forks_count":61,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-22T12:06:54.686Z","etag":null,"topics":["actions","aws","eks","github-actions","helm","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koslib.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":"2020-07-24T20:12:59.000Z","updated_at":"2025-04-02T06:09:35.000Z","dependencies_parsed_at":"2024-03-20T14:58:28.473Z","dependency_job_id":null,"html_url":"https://github.com/koslib/helm-eks-action","commit_stats":{"total_commits":81,"total_committers":14,"mean_commits":5.785714285714286,"dds":0.691358024691358,"last_synced_commit":"2a3d747c05d7861d877edbe0d03723492dab19ee"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/koslib/helm-eks-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koslib%2Fhelm-eks-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koslib%2Fhelm-eks-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koslib%2Fhelm-eks-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koslib%2Fhelm-eks-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koslib","download_url":"https://codeload.github.com/koslib/helm-eks-action/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koslib%2Fhelm-eks-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261289420,"owners_count":23136070,"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":["actions","aws","eks","github-actions","helm","kubernetes"],"created_at":"2024-11-15T10:37:38.100Z","updated_at":"2025-06-22T12:06:56.032Z","avatar_url":"https://github.com/koslib.png","language":"Dockerfile","funding_links":["https://www.buymeacoffee.com/koslib"],"categories":[],"sub_categories":[],"readme":"# helm-eks-action\nGithub Action for executing Helm commands on EKS (using aws-iam-authenticator).\n\nThe Helm version installed is Helm3.\n\nThis action was inspired by [kubernetes-action](https://github.com/Jberlinsky/kubernetes-action).\n\n# Instructions\n\nThis Github Action was created with EKS in mind, therefore the following example refers to it.\n\n## Input variables\n\n1. `plugins`: you can specify a list of Helm plugins you'd like to install and use later on in your command. eg. helm-secrets or helm-diff. This action does not support only a specific list of Helm plugins, rather any Helm plugin as long as you supply its URL. You can use the following [example](#example) as a reference.\n2. `command`: your kubectl/helm command. This supports multiline as per the Github Actions workflow syntax.\n\nexample for multiline:\n```yaml\n...\nwith:\n  command: |\n    helm upgrade --install my-release chart/repo\n    kubectl get pods\n```\n\n## Example\n\n```yaml\nname: deploy\n\non:\n    push:\n        branches:\n            - master\n            - develop\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    env:\n      AWS_REGION: us-east-1\n      CLUSTER_NAME: my-staging\n    steps:\n      - uses: actions/checkout@v3\n\n      - name: AWS Credentials\n        uses: aws-actions/configure-aws-credentials@v1\n        with:\n          role-to-assume: arn:aws:iam::\u003cyour account id\u003e:role/github-actions\n          role-session-name: ci-run-${{ github.run_id }}\n          aws-region: ${{ env.AWS_REGION }}\n      \n      - name: kubeconfig\n        run: |\n          aws eks update-kubeconfig --name ${{ env.CLUSTER_NAME }} --region ${{ env.AWS_REGION }}  --kubeconfig ./kubeconfig\n          echo 'KUBE_CONFIG_DATA\u003c\u003cEOF' \u003e\u003e $GITHUB_ENV\n          echo $(cat ./kubeconfig | base64) \u003e\u003e $GITHUB_ENV\n          echo 'EOF' \u003e\u003e $GITHUB_ENV\n\n      - name: helm deploy\n        uses: koslib/helm-eks-action@master\n        env:\n          KUBE_CONFIG_DATA: ${{ env.KUBE_CONFIG_DATA }}\n        with:\n          plugins: \"https://github.com/jkroepke/helm-secrets\" # optional\n          command: helm secrets upgrade \u003crelease name\u003e --install --wait \u003cchart\u003e -f \u003cpath to values.yaml\u003e\n```\n\n## Response\n\nUse the output of your command in later steps\n\n```yaml\n    steps:\n      - name: Get URL\n        id: url\n        uses: koslib/helm-eks-action@master\n        with:\n          command: kubectl get svc my_svc -o json | jq -r '.status.loadBalancer.ingress[0].hostname'\n\n      - name: Print Response\n        run: echo \"Response was ${{ steps.url.outputs.response }}\"\n\n```\n\n# Main dependencies version table\n\nThe latest version of this action uses the following dependencies versions:\n\n| Package      | Version |\n| ----------- | ----------- |\n| awscli      | 1.24.0  |\n| helm   | 3.10.1        |\n| kubectl   | 1.25.4        |\n\nIt is very much possible that an update came out and I did not update the action on time. In this please, feel free to [send me a PR](#contributing) and I'll review it as soon as possible.\n\n# Accessing your cluster\n\nIt is required to set the `KUBE_CONFIG_DATA` env/secret in order to access your cluster. I recommend you do it dynamically using a step like that:\n\n```\n- name: kubeconfig\n        run: |\n          aws eks update-kubeconfig --name ${{ env.CLUSTER_NAME }} --region ${{ env.AWS_REGION }}  --kubeconfig ./kubeconfig\n          echo 'KUBE_CONFIG_DATA\u003c\u003cEOF' \u003e\u003e $GITHUB_ENV\n          echo $(cat ./kubeconfig | base64) \u003e\u003e $GITHUB_ENV\n          echo 'EOF' \u003e\u003e $GITHUB_ENV\n```\n\nIf you find this configuration option complicated, you can still supply `KUBE_CONFIG_DATA` as a repository secret, however this is not endorsed by this repository.\n\n\n# Contributing\n\nPull requests, issues or feedback of any kind are more than welcome by anyone!\n\nIf this action has helped you in any way and enjoyed it, feel free to submit feedback through [issues](https://github.com/koslib/helm-eks-action/issues) or buy me a coffee!\n\n\u003ca href=\"https://www.buymeacoffee.com/koslib\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" alt=\"Buy Me A Coffee\" height=\"41\" width=\"174\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoslib%2Fhelm-eks-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoslib%2Fhelm-eks-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoslib%2Fhelm-eks-action/lists"}