-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add support for S3 in script * Adding S3 example to README * Bumping README versions example and alpine/k8s version
- Loading branch information
Showing
3 changed files
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine/k8s:1.26.1 | ||
FROM alpine/k8s:1.26.9 | ||
|
||
COPY deploy.sh /usr/local/bin/deploy | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ Following inputs can be used as `step.with` keys | |
|
||
```yaml | ||
- name: Deploy Helm | ||
uses: bitovi/[email protected].5 | ||
uses: bitovi/[email protected].7 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
|
@@ -71,7 +71,7 @@ Following inputs can be used as `step.with` keys | |
## Example 2 - Custom Chart Repo | ||
```yaml | ||
- name: Deploy Helm | ||
uses: bitovi/[email protected].5 | ||
uses: bitovi/[email protected].7 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
|
@@ -90,7 +90,7 @@ Following inputs can be used as `step.with` keys | |
## Example 3 - OCI Chart Repo | ||
```yaml | ||
- name: Deploy Helm | ||
uses: bitovi/[email protected].5 | ||
uses: bitovi/[email protected].7 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
|
@@ -113,7 +113,7 @@ Following inputs can be used as `step.with` keys | |
aws-region: ${{ env.aws-region }} | ||
|
||
- name: Install Helm Chart | ||
uses: bitovi/[email protected].5 | ||
uses: bitovi/[email protected].7 | ||
with: | ||
aws-region: ${{ env.aws-region }} | ||
cluster-name: eks-cluster-${{ env.environment }} | ||
|
@@ -123,7 +123,7 @@ Following inputs can be used as `step.with` keys | |
## Example 5 - Use secrets with vals backend | ||
```yaml | ||
- name: Deploy Helm | ||
uses: bitovi/[email protected].5 | ||
uses: bitovi/[email protected].7 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
|
@@ -138,11 +138,29 @@ Following inputs can be used as `step.with` keys | |
plugins: https://github.com/jkroepke/helm-secrets | ||
``` | ||
## Example 6 - Use with S3 as repo | ||
```yaml | ||
- name: Deploy S3 Helm chart | ||
uses: bitovi/[email protected] | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-west-2 | ||
chart-repository: s3://my-s3-bucket/ | ||
chart-path: my-service/my-service | ||
version: 0.1.0 | ||
cluster-name: mycluster | ||
namespace: dev | ||
name: my_service_name | ||
plugins: https://github.com/hypnoglow/helm-s3.git | ||
``` | ||
* 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. | ||
## Example Uninstall | ||
```yaml | ||
- name: Deploy Helm | ||
uses: bitovi/[email protected].5 | ||
uses: bitovi/[email protected].7 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
|
@@ -157,7 +175,7 @@ Following inputs can be used as `step.with` keys | |
```yaml | ||
- name: Deploy Helm | ||
uses: bitovi/[email protected].5 | ||
uses: bitovi/[email protected].7 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters