Skip to content

Commit 4880da6

Browse files
authored
Bump alpine docker k8s image (#47)
* Bump Dockerfile image * Bump action and README
1 parent 1127005 commit 4880da6

File tree

3 files changed

+37
-18
lines changed

3 files changed

+37
-18
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine/k8s:1.26.9
1+
FROM alpine/k8s:1.26.10
22

33
COPY deploy.sh /usr/local/bin/deploy
44

README.md

+33-14
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,33 @@
1-
# EKS deployments with Helm
1+
# Deploy Helm charts to AWS EKS cluster
22

3-
GitHub action for deploying to AWS EKS clusters using helm.
3+
`bitovi/github-actions-deploy-eks-helm` deploys helm charts to an EKS Cluster.
44

5-
Note: If your EKS cluster administrative access is in a private network, you will need to use a self hosted runner in that network to use this action.
5+
## Action Summary
6+
This action deploys Helm charts to an EKS cluster, allowing ECR/OCI as sources, and handling plugin installation, using [this awesome Docker image](https://github.com/alpine-docker/k8s) as base.
67

7-
## Customizing
8+
> **Note:** If your EKS cluster administrative access is in a private network, you will need to use a self hosted runner in that network to use this action.
9+
10+
If you would like to deploy a backend app/service, check out our other actions:
11+
| Action | Purpose |
12+
| ------ | ------- |
13+
| [Deploy Docker to EC2](https://github.com/marketplace/actions/deploy-docker-to-aws-ec2) | Deploys a repo with a Dockerized application to a virtual machine (EC2) on AWS |
14+
| [Deploy React to GitHub Pages](https://github.com/marketplace/actions/deploy-react-to-github-pages) | Builds and deploys a React application to GitHub Pages. |
15+
| [Deploy static site to AWS (S3/CDN/R53)](https://github.com/marketplace/actions/deploy-static-site-to-aws-s3-cdn-r53) | Hosts a static site in AWS S3 with CloudFront |
16+
<br/>
17+
18+
**And more!**, check our [list of actions in the GitHub marketplace](https://github.com/marketplace?category=&type=actions&verification=&query=bitovi)
19+
20+
# Need help or have questions?
21+
This project is supported by [Bitovi, A DevOps consultancy](https://www.bitovi.com/services/devops-consulting).
822

9-
### Note on chart repository / oci registry
23+
You can **get help or ask questions** on our:
24+
25+
- [Discord Community](https://discord.gg/J7ejFsZnJ4Z)
26+
27+
28+
## Customizing
1029

11-
Although Helm repositories are different than [OCI registries](https://helm.sh/docs/topics/registries/), the `chart-repository` variable supports both options.
30+
> **Note:** Although Helm repositories are different than [OCI registries](https://helm.sh/docs/topics/registries/), the `chart-repository` variable supports both options.
1231
1332
See [example below](https://github.com/bitovi/github-actions-deploy-eks-helm#example-3) for reference, but should be similar to using a repo.
1433

@@ -55,7 +74,7 @@ Following inputs can be used as `step.with` keys
5574

5675
```yaml
5776
- name: Deploy Helm
58-
uses: bitovi/[email protected].7
77+
uses: bitovi/[email protected].8
5978
with:
6079
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
6180
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -71,7 +90,7 @@ Following inputs can be used as `step.with` keys
7190
## Example 2 - Custom Chart Repo
7291
```yaml
7392
- name: Deploy Helm
74-
uses: bitovi/[email protected].7
93+
uses: bitovi/[email protected].8
7594
with:
7695
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
7796
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -90,7 +109,7 @@ Following inputs can be used as `step.with` keys
90109
## Example 3 - OCI Chart Repo
91110
```yaml
92111
- name: Deploy Helm
93-
uses: bitovi/[email protected].7
112+
uses: bitovi/[email protected].8
94113
with:
95114
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
96115
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -113,7 +132,7 @@ Following inputs can be used as `step.with` keys
113132
aws-region: ${{ env.aws-region }}
114133

115134
- name: Install Helm Chart
116-
uses: bitovi/[email protected].7
135+
uses: bitovi/[email protected].8
117136
with:
118137
aws-region: ${{ env.aws-region }}
119138
cluster-name: eks-cluster-${{ env.environment }}
@@ -123,7 +142,7 @@ Following inputs can be used as `step.with` keys
123142
## Example 5 - Use secrets with vals backend
124143
```yaml
125144
- name: Deploy Helm
126-
uses: bitovi/[email protected].7
145+
uses: bitovi/[email protected].8
127146
with:
128147
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
129148
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -141,7 +160,7 @@ Following inputs can be used as `step.with` keys
141160
## Example 6 - Use with S3 as repo
142161
```yaml
143162
- name: Deploy S3 Helm chart
144-
uses: bitovi/[email protected].7
163+
uses: bitovi/[email protected].8
145164
with:
146165
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
147166
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -160,7 +179,7 @@ Following inputs can be used as `step.with` keys
160179
161180
```yaml
162181
- name: Deploy Helm
163-
uses: bitovi/[email protected].7
182+
uses: bitovi/[email protected].8
164183
with:
165184
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
166185
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -175,7 +194,7 @@ Following inputs can be used as `step.with` keys
175194
176195
```yaml
177196
- name: Deploy Helm
178-
uses: bitovi/[email protected].7
197+
uses: bitovi/[email protected].8
179198
with:
180199
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
181200
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

action.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# action.yml
2-
name: 'Deploy Helm to EKS'
3-
description: 'Deploy a helm chart to an EKS cluster using IAM authentication.'
2+
name: 'Deploy Helm chart to AWS EKS Cluster'
3+
description: 'Deploy a helm chart to an Amazon EKS cluster using IAM authentication.'
44
branding:
55
icon: anchor
66
color: red
@@ -120,7 +120,7 @@ runs:
120120
CA_FILE: ${{ inputs.ca-file }}
121121
CERT_FILE: ${{ inputs.cert-file }}
122122
KEY_FILE: ${{ inputs.key-file }}
123-
SKIP_TLS: $ {{ inputs.insecure-skip-tls-verify }}
123+
SKIP_TLS: ${{ inputs.insecure-skip-tls-verify }}
124124
PASS_CREDENTIALS: ${{ inputs.pass-credentials }}
125125
REPO_USERNAME: ${{ inputs.username }}
126126
REPO_PASSWORD: ${{ inputs.password }}

0 commit comments

Comments
 (0)