Skip to content

Commit

Permalink
Install correct version of stash chart (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed May 22, 2018
1 parent 5e5181f commit ee1ef7c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
2 changes: 1 addition & 1 deletion chart/stash/Chart.yaml
@@ -1,7 +1,7 @@
apiVersion: v1
description: 'Stash by AppsCode - Backup your Kubernetes Volumes'
name: stash
version: 0.6.0
version: 0.7.0-rc.3
appVersion: 0.7.0-rc.3
home: https://github.com/appscode/stash
icon: https://cdn.appscode.com/images/icon/stash.png
Expand Down
38 changes: 22 additions & 16 deletions docs/setup/install.md
Expand Up @@ -92,34 +92,40 @@ $ curl -fsSL https://raw.githubusercontent.com/appscode/stash/0.7.0-rc.3/hack/de
## Using Helm
Stash can be installed via [Helm](https://helm.sh/) using the [chart](https://github.com/appscode/stash/tree/0.7.0-rc.3/chart/stash) from [AppsCode Charts Repository](https://github.com/appscode/charts). To install the chart with the release name `my-release`:

```console
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search appscode/stash
NAME CHART VERSION APP VERSION DESCRIPTION
appscode/stash 0.7.0-rc.3 0.7.0-rc.3 Stash by AppsCode - Backup your Kubernetes Volumes

# Kubernetes 1.8.x
$ helm install appscode/stash --name stash-operator --version 0.7.0-rc.3

# Kubernetes 1.9.0 or later
$ helm install appscode/stash --name stash-operator --version 0.7.0-rc.3 \
--set apiserver.ca="$(onessl get kube-ca)" \
--set apiserver.enableValidatingWebhook=true \
--set apiserver.enableMutatingWebhook=true
```

To install `onessl`, run the following commands:

```console
# Mac OSX amd64:
curl -fsSL -o onessl https://github.com/kubepack/onessl/releases/download/0.1.0/onessl-darwin-amd64 \
curl -fsSL -o onessl https://github.com/kubepack/onessl/releases/download/0.3.0/onessl-darwin-amd64 \
&& chmod +x onessl \
&& sudo mv onessl /usr/local/bin/

# Linux amd64:
curl -fsSL -o onessl https://github.com/kubepack/onessl/releases/download/0.1.0/onessl-linux-amd64 \
curl -fsSL -o onessl https://github.com/kubepack/onessl/releases/download/0.3.0/onessl-linux-amd64 \
&& chmod +x onessl \
&& sudo mv onessl /usr/local/bin/

# Linux arm64:
curl -fsSL -o onessl https://github.com/kubepack/onessl/releases/download/0.1.0/onessl-linux-arm64 \
curl -fsSL -o onessl https://github.com/kubepack/onessl/releases/download/0.3.0/onessl-linux-arm64 \
&& chmod +x onessl \
&& sudo mv onessl /usr/local/bin/

# Kubernetes 1.8.x
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm install appscode/stash --name my-release

# Kubernetes 1.9.0 or later
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm install appscode/stash --name my-release \
--set apiserver.ca="$(onessl get kube-ca)" \
--set apiserver.enableValidatingWebhook=true \
--set apiserver.enableMutatingWebhook=true
```

To see the detailed configuration options, visit [here](https://github.com/appscode/stash/tree/master/chart/stash).
Expand Down

0 comments on commit ee1ef7c

Please sign in to comment.