Skip to content

Commit 99dab66

Browse files
authored
Cosmetics in README, bump image version (#60)
1 parent e7895b3 commit 99dab66

File tree

2 files changed

+38
-39
lines changed

2 files changed

+38
-39
lines changed

Dockerfile

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

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

README.md

+37-38
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ The following inputs are available as `step.with` keys:
7373

7474
```yaml
7575
- name: Deploy Helm
76-
uses: bitovi/[email protected].10
76+
uses: bitovi/[email protected].11
7777
with:
7878
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
7979
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -89,7 +89,7 @@ The following inputs are available as `step.with` keys:
8989
## Example 2 - Custom Chart Repo
9090
```yaml
9191
- name: Deploy Helm
92-
uses: bitovi/[email protected].10
92+
uses: bitovi/[email protected].11
9393
with:
9494
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
9595
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -109,7 +109,7 @@ The following inputs are available as `step.with` keys:
109109
## Example 3 - OCI Chart Repo
110110
```yaml
111111
- name: Deploy Helm
112-
uses: bitovi/[email protected].10
112+
uses: bitovi/[email protected].11
113113
with:
114114
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
115115
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -132,7 +132,7 @@ The following inputs are available as `step.with` keys:
132132
aws-region: ${{ env.aws-region }}
133133

134134
- name: Install Helm Chart
135-
uses: bitovi/[email protected].10
135+
uses: bitovi/[email protected].11
136136
with:
137137
aws-region: ${{ env.aws-region }}
138138
cluster-name: eks-cluster-${{ env.environment }}
@@ -142,7 +142,7 @@ The following inputs are available as `step.with` keys:
142142
## Example 5 - Use secrets with vals backend
143143
```yaml
144144
- name: Deploy Helm
145-
uses: bitovi/[email protected].10
145+
uses: bitovi/[email protected].11
146146
with:
147147
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
148148
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -157,10 +157,36 @@ The following inputs are available as `step.with` keys:
157157
plugins: https://github.com/jkroepke/helm-secrets
158158
```
159159
160-
## Example 6 - Use with S3 as repo
160+
## Example 6 - Define multiple values
161+
162+
```yaml
163+
- name: Install Karpenter
164+
uses: bitovi/[email protected]
165+
with:
166+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
167+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
168+
aws-region: ${{ vars.AWS_REGION }}
169+
cluster-name: ${{ vars.CLUSTER_NAME }}
170+
cluster-role-arn: ${{ secrets.AWS_ROLE_ARN }}
171+
chart-repository: oci://public.ecr.aws
172+
chart-path: karpenter/karpenter
173+
helm-wait: true
174+
namespace: karpenter
175+
name: karpenter
176+
values: |
177+
settings.clusterName=${{ vars.CLUSTER_NAME }},
178+
settings.interruptionQueue=${{ vars.CLUSTER_NAME }}-karpenter,
179+
controller.resources.requests.cpu=1,
180+
controller.resources.requests.memory=1Gi,
181+
controller.resources.limits.cpu=1,
182+
controller.resources.limits.memory=1Gi
183+
version: 1.0.6
184+
```
185+
186+
## Example 7 - Use with S3 as repo
161187
```yaml
162188
- name: Deploy S3 Helm chart
163-
uses: bitovi/[email protected].10
189+
uses: bitovi/[email protected].11
164190
with:
165191
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
166192
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -175,7 +201,7 @@ The following inputs are available as `step.with` keys:
175201
```
176202
* See the [official AWS Guide](https://docs.aws.amazon.com/prescriptive-guidance/latest/patterns/set-up-a-helm-v3-chart-repository-in-amazon-s3.html) on how to set this up.
177203
178-
## Example 7 - Use a different role in the Action than the role the cluster was built with
204+
## Example 8 - Use a different role in the Action than the role the cluster was built with
179205
180206
**action.yaml**
181207
```yaml
@@ -185,40 +211,13 @@ The following inputs are available as `step.with` keys:
185211
role-to-assume: arn:aws:iam::${{ env.aws-account-id }}:role/${{ env.aws-assume-role }}
186212
aws-region: ${{ env.aws-region }}
187213
- name: Install Helm Chart
188-
uses: bitovi/[email protected].10
214+
uses: bitovi/[email protected].11
189215
with:
190216
aws-region: ${{ env.aws-region }}
191217
cluster-name: eks-cluster-${{ env.environment }}
192218
... (put your other arguments here)
193219
```
194220

195-
## Example 8 - Use a different role in the Action than the role the cluster was built with
196-
197-
**action.yaml**
198-
```yaml
199-
- name: Install Karpenter
200-
uses: bitovi/github-actions-deploy-eks-helm
201-
with:
202-
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
203-
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
204-
aws-region: ${{ vars.AWS_REGION }}
205-
cluster-name: ${{ vars.CLUSTER_NAME }}
206-
cluster-role-arn: ${{ secrets.AWS_ROLE_ARN }}
207-
chart-repository: oci://public.ecr.aws
208-
chart-path: karpenter/karpenter
209-
helm-wait: true
210-
namespace: karpenter
211-
name: karpenter
212-
values: |
213-
settings.clusterName=${{ vars.CLUSTER_NAME }},
214-
settings.interruptionQueue=${{ vars.CLUSTER_NAME }}-karpenter,
215-
controller.resources.requests.cpu=1,
216-
controller.resources.requests.memory=1Gi,
217-
controller.resources.limits.cpu=1,
218-
controller.resources.limits.memory=1Gi
219-
version: 1.0.6
220-
```
221-
222221
**terraform.tf**
223222
```yaml
224223
... (surrounding code)
@@ -254,7 +253,7 @@ The following inputs are available as `step.with` keys:
254253

255254
```yaml
256255
- name: Deploy Helm
257-
uses: bitovi/[email protected].10
256+
uses: bitovi/[email protected].11
258257
with:
259258
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
260259
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@@ -269,7 +268,7 @@ The following inputs are available as `step.with` keys:
269268
270269
```yaml
271270
- name: Deploy Helm
272-
uses: bitovi/[email protected].10
271+
uses: bitovi/[email protected].11
273272
with:
274273
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
275274
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)