Skip to content

Commit

Permalink
Merge pull request #191 from ayberk/master
Browse files Browse the repository at this point in the history
Automate helm chart release
  • Loading branch information
k8s-ci-robot authored Apr 16, 2021
2 parents 574ca46 + a198f76 commit b27a1d8
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/cr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
release-name-template: "helm-chart-{{ .Name }}-{{ .Version }}"
27 changes: 27 additions & 0 deletions .github/workflows/helm_chart_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Release Helm Charts

on:
push:
branches:
- master
paths:
- "charts/**"

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
with:
config: .github/cr.yaml
4 changes: 3 additions & 1 deletion charts/aws-cloud-controller-manager/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
---
apiVersion: v1
name: aws-cloud-controller-manager
description: This will install Cloud Controller Manager for AWS Cloud Provider
description: Installs Cloud Controller Manager for AWS Cloud Provider
version: 0.0.2
appVersion: v1.20.0-alpha.0
maintainers:
- name: Jeswin K Ninan
email: [email protected]
- name: Ayberk Yilmaz
email: [email protected]
---
4 changes: 2 additions & 2 deletions charts/aws-cloud-controller-manager/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Installs the [aws cloud-controller-manager ](https://github.com/kubernetes/cloud
## Get Repo Info

```console
helm repo add aws-cloud-controller-manager https://github.com/kubernetes/cloud-provider-aws
helm repo add aws-cloud-controller-manager https://kubernetes.github.io/cloud-provider-aws
helm repo update
```

Expand All @@ -15,7 +15,7 @@ _See [helm repo](https://helm.sh/docs/helm/helm_repo/) for command documentation

```console
# Helm 3
$ helm install [RELEASE_NAME] cloud-provider-aws/charts/aws-cloud-controller-manager [flags]
$ helm upgrade --install aws-cloud-controller-manager aws-cloud-controller-manager/aws-cloud-controller-manager

```

Expand Down

0 comments on commit b27a1d8

Please sign in to comment.