Skip to content

Commit cbe5ee2

Browse files
authored
Merge pull request #66 from ZeroMagic/helm
chore: update helm charts
2 parents 40b5e11 + 7e7159f commit cbe5ee2

36 files changed

+1250
-323
lines changed

charts/README.md

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,22 @@
22

33
Quick start instructions for the setup and configuration of blobfuse CSI driver using Helm.
44

5-
Choose one of the following two mutually exclusive options described below.
5+
## Prerequisites
66

7-
## Option#1: Install with Helm via `helm template`
7+
1. [install Helm Client](https://helm.sh/docs/using_helm/#installing-the-helm-client)
88

9-
```shell
10-
$ helm template charts/blobfuse-csi-driver --name blobfuse-csi-driver --namespace kube-system > $HOME/blobfuse-csi-driver.yaml
11-
$ kubectl apply -f $HOME/blobfuse-csi-driver.yaml
12-
```
13-
14-
## Option#2: Install with Helm and Tiller via `helm install`
9+
2. [initialize Helm and install Tiller](https://helm.sh/docs/using_helm/#initialize-helm-and-install-tiller)
1510

16-
This option need to install [Tiller](https://github.com/kubernetes/helm/blob/master/docs/architecture.md#components), please see [Using Helm](https://helm.sh/docs/using_helm/#example-service-account-with-cluster-admin-role) for more information.
11+
## Install BlobFuse via `helm install`
1712

18-
```shell
19-
$ helm install charts/blobfuse-csi-driver --name blobfuse-csi-driver --namespace kube-system
13+
```console
14+
$ cd $GOPATH/src/github.com/csi-driver/blobfuse-csi-driver/charts/latest
15+
$ helm package blobfuse-csi-driver
16+
$ helm install blobfuse-csi-driver-latest.tgz --name blobfuse-csi-driver --namespace kube-system
2017
```
2118

2219
## Uninstall
2320

24-
- For option#1, uninstall using `kubectl`:
25-
26-
```shell
27-
$ kubectl delete -f $HOME/blobfuse-csi-driver.yaml
28-
```
29-
30-
- For option#2, uninstall using `helm`:
31-
32-
```shell
21+
```console
3322
$ helm delete --purge blobfuse-csi-driver
3423
```

charts/blobfuse-csi-driver/Chart.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

charts/blobfuse-csi-driver/templates/NOTES.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.

charts/blobfuse-csi-driver/templates/csi-blobfuse-attacher.yaml

Lines changed: 0 additions & 51 deletions
This file was deleted.

charts/blobfuse-csi-driver/templates/csi-blobfuse-provisioner.yaml

Lines changed: 0 additions & 52 deletions
This file was deleted.

charts/blobfuse-csi-driver/templates/service-account.yaml

Lines changed: 0 additions & 35 deletions
This file was deleted.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v1
2+
appVersion: latest
3+
description: BlobFuse Container Storage Interface (CSI) Storage Plugin
4+
name: blobfuse-csi-driver
5+
version: latest
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
The BlobFuse CSI Driver is getting deployed to your cluster.
2+
3+
To check Blobfuse CSI Driver pods status, please run:
4+
5+
kubectl --namespace={{ .Release.Namespace }} get pods --selector="release={{ .Release.Name }}" --watch

charts/blobfuse-csi-driver/templates/_helpers.tpl renamed to charts/latest/blobfuse-csi-driver/templates/_helpers.tpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{{/* vim: set filetype=mustache: */}}
2-
{{/* */}}
2+
3+
{{/* labels for helm resources */}}
34
{{- define "blobfuse.labels" -}}
45
labels:
56
heritage: "{{ .Release.Service }}"

0 commit comments

Comments
 (0)