1
0

Compare commits

...

6 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
73163eb740 Merge pull request #35 from yonatankahana/helm-release
Add github action to release helm charts
2021-02-04 09:34:29 -08:00
Yonatan Kahana
ffc0286ee6 Merge branch 'master' into helm-release 2021-01-22 18:20:46 +02:00
Kubernetes Prow Robot
d19dc6e13b Merge pull request #39 from yonatankahana/helmkubesemver
Change the helm chart kubeVersion semver to include pre-releases
2021-01-22 08:01:27 -08:00
Yonatan Kahana
3837a51db7 Change the helm chart kubeVersion semver to include pre-releases
Signed-off-by: Yonatan Kahana <yonatankahana.il@gmail.com>
2021-01-19 20:11:25 +02:00
Yonatan Kahana
6fd46c11d4 Deleting an unnecessary step in the helm chart release action
Signed-off-by: Yonatan Kahana <yonatankahana.il@gmail.com>
2021-01-12 19:12:30 +02:00
Yonatan Kahana
f44ac23c42 Add github action to release helm charts
Signed-off-by: Yonatan Kahana <yonatankahana.il@gmail.com>
2021-01-11 22:03:05 +02:00
18 changed files with 34 additions and 11 deletions

View File

@@ -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 }}"

View File

@@ -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
```

View File

@@ -4,7 +4,7 @@ description: nfs-subdir-external-provisioner is an automatic provisioner that us
name: nfs-subdir-external-provisioner
home: https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner
version: 3.0.0
kubeVersion: ">=1.9.0 <1.20.0"
kubeVersion: ">=1.9.0-0 <1.20.0-0"
sources:
- https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner
keywords:

View File

@@ -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.

2
go.mod
View File

@@ -41,4 +41,4 @@ replace (
k8s.io/legacy-cloud-providers => k8s.io/legacy-cloud-providers v0.18.0
k8s.io/metrics => k8s.io/metrics v0.18.0
k8s.io/sample-apiserver => k8s.io/sample-apiserver v0.18.0
)
)