Merge pull request #35 from yonatankahana/helm-release
Add github action to release helm charts
This commit is contained in:
		
						commit
						73163eb740
					
				|  | @ -0,0 +1,25 @@ | |||
| name: Release Helm Charts | ||||
| 
 | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - master | ||||
| 
 | ||||
| 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 "$GITHUB_ACTOR@users.noreply.github.com" | ||||
| 
 | ||||
|       - name: Run chart-releaser | ||||
|         uses: helm/chart-releaser-action@v1.1.0 | ||||
|         env: | ||||
|           CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | ||||
|  | @ -21,14 +21,13 @@ To note again, you must _already_ have an NFS Server. | |||
| 
 | ||||
| ### With Helm | ||||
| 
 | ||||
| Follow the instructions from the helm chart [README](deploy/helm/README.md). | ||||
| Follow the instructions from the helm chart [README](charts/nfs-subdir-external-provisioner/README.md). | ||||
| 
 | ||||
| The tl;dr is | ||||
| 
 | ||||
| ```console | ||||
| $ git clone https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner.git | ||||
| $ cd nfs-subdir-external-provisioner/deploy/helm/ | ||||
| $ helm install nfs-subdir-external-provisioner . \ | ||||
| $ helm repo add nfs-subdir-external-provisioner https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner/ | ||||
| $ helm install nfs-subdir-external-provisioner nfs-subdir-external-provisioner/nfs-subdir-external-provisioner \ | ||||
|     --set nfs.server=x.x.x.x \ | ||||
|     --set nfs.path=/exported/path | ||||
| ``` | ||||
|  |  | |||
|  | @ -5,9 +5,8 @@ The [NFS subdir external provisioner](https://github.com/kubernetes-sigs/nfs-sub | |||
| ## TL;DR; | ||||
| 
 | ||||
| ```console | ||||
| $ git clone https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner.git | ||||
| $ cd nfs-subdir-external-provisioner/deploy/helm/ | ||||
| $ helm install nfs-subdir-external-provisioner . \ | ||||
| $ helm repo add nfs-subdir-external-provisioner https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner/ | ||||
| $ helm install nfs-subdir-external-provisioner nfs-subdir-external-provisioner/nfs-subdir-external-provisioner \ | ||||
|     --set nfs.server=x.x.x.x \ | ||||
|     --set nfs.path=/exported/path | ||||
| ``` | ||||
|  | @ -28,9 +27,9 @@ This charts installs custom [storage class](https://kubernetes.io/docs/concepts/ | |||
| To install the chart with the release name `my-release`: | ||||
| 
 | ||||
| ```console | ||||
| $ helm install my-release . \ | ||||
| $ helm install my-release nfs-subdir-external-provisioner/nfs-subdir-external-provisioner \ | ||||
|     --set nfs.server=x.x.x.x \ | ||||
|     --set nfs.path=/exported/path``` | ||||
|     --set nfs.path=/exported/path | ||||
| ``` | ||||
| 
 | ||||
| The command deploys the given storage class in the default configuration. It can be used afterswards to provision persistent volumes. The [configuration](#configuration) section lists the parameters that can be configured during installation. | ||||
		Loading…
	
		Reference in New Issue