Skip to content

Commit 7e9b582

Browse files
committed
chore: rename charts
fix verification fix chart installation
1 parent fe8c214 commit 7e9b582

18 files changed

+62
-62
lines changed

Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ e2e-test:
6161
e2e-bootstrap: install-helm
6262
# Only build and push the image if it does not exist in the registry
6363
docker pull $(IMAGE_TAG) || make blob-container push
64-
helm install charts/latest/blobfuse-csi-driver -n blobfuse-csi-driver --namespace kube-system --wait \
65-
--set image.blobfuse.pullPolicy=IfNotPresent \
66-
--set image.blobfuse.repository=$(REGISTRY)/$(IMAGE_NAME) \
67-
--set image.blobfuse.tag=$(IMAGE_VERSION)
64+
helm install charts/latest/blob-csi-driver -n blob-csi-driver --namespace kube-system --wait \
65+
--set image.blob.pullPolicy=IfNotPresent \
66+
--set image.blob.repository=$(REGISTRY)/$(IMAGE_NAME) \
67+
--set image.blob.tag=$(IMAGE_VERSION)
6868

6969
.PHONY: install-helm
7070
install-helm:
@@ -76,7 +76,7 @@ install-helm:
7676

7777
.PHONY: e2e-teardown
7878
e2e-teardown:
79-
helm delete --purge blobfuse-csi-driver
79+
helm delete --purge blob-csi-driver
8080

8181
.PHONY: blob
8282
blob:

charts/README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ Quick start instructions for the setup and configuration of Azure Blob Storage C
99
## Install latest CSI Driver via `helm install`
1010

1111
```console
12-
$ cd $GOPATH/src/sigs.k8s.io/blobfuse-csi-driver/charts/latest
13-
$ helm package blobfuse-csi-driver
14-
$ helm install blobfuse-csi-driver blobfuse-csi-driver-latest.tgz --namespace kube-system
12+
$ cd $GOPATH/src/sigs.k8s.io/blob-csi-driver/charts/latest
13+
$ helm package blob-csi-driver
14+
$ helm install blob-csi-driver blob-csi-driver-latest.tgz --namespace kube-system
1515
```
1616

1717
## Install CSI Driver released version using Helm repository
1818

1919
```console
20-
$ helm repo add blobfuse-csi-driver https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/charts
21-
$ helm install blobfuse-csi-driver blobfuse-csi-driver/blobfuse-csi-driver --namespace kube-system
20+
$ helm repo add blob-csi-driver https://raw.githubusercontent.com/kubernetes-sigs/blobfuse-csi-driver/master/charts
21+
$ helm install blob-csi-driver blobfuse-csi-driver/blobfuse-csi-driver --namespace kube-system
2222
```
2323

2424
### Search for different versions of charts available
@@ -28,23 +28,23 @@ $ helm search repo -l blobfuse-csi-driver/
2828
### Install a specific version of Helm chart
2929
Specify the version of the chart to be installed using the `--version` parameter.
3030
```console
31-
helm install blobfuse-csi-driver blobfuse-csi-driver/blobfuse-csi-driver --namespace kube-system --version v0.6.0
31+
helm install blob-csi-driver blobfuse-csi-driver/blob-csi-driver --namespace kube-system --version v0.6.0
3232
```
3333

3434
## Uninstall
3535

3636
```console
37-
$ helm uninstall blobfuse-csi-driver -n kube-system
37+
$ helm uninstall blob-csi-driver -n kube-system
3838
```
3939
## The Latest Helm Chart Configuration
4040

4141
The following table lists the configurable parameters of the latest Azure Blob Storage CSI driver chart and their default values.
4242

4343
| Parameter | Description | Default |
4444
|---------------------------------------------------|------------------------------------------------------------|-------------------------------------------------------------------|
45-
| `image.blobfuse.repository` | blobfuse-csi-driver docker image | mcr.microsoft.com/k8s/csi/blobfuse-csi |
46-
| `image.blobfuse.tag` | blobfuse-csi-driver docker image tag | latest |
47-
| `image.blobfuse.pullPolicy` | blobfuse-csi-driver image pull policy | IfNotPresent |
45+
| `image.blob.repository` | blob-csi-driver docker image | mcr.microsoft.com/k8s/csi/blob-csi |
46+
| `image.blob.tag` | blob-csi-driver docker image tag | latest |
47+
| `image.blob.pullPolicy` | blob-csi-driver image pull policy | IfNotPresent |
4848
| `image.csiProvisioner.repository` | csi-provisioner docker image | mcr.microsoft.com/oss/kubernetes-csi/csi-provisioner |
4949
| `image.csiProvisioner.tag` | csi-provisioner docker image tag | v1.4.0 |
5050
| `image.csiProvisioner.pullPolicy` | csi-provisioner image pull policy | IfNotPresent |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apiVersion: v1
22
appVersion: latest
33
description: Azure Blob Storage CSI driver
4-
name: blobfuse-csi-driver
4+
name: blob-csi-driver
55
version: latest

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{{/* vim: set filetype=mustache: */}}
22

33
{{/* labels for helm resources */}}
4-
{{- define "blobfuse.labels" -}}
4+
{{- define "blob.labels" -}}
55
labels:
66
heritage: "{{ .Release.Service }}"
77
release: "{{ .Release.Name }}"

charts/latest/blobfuse-csi-driver/templates/csi-blob-controller.yaml renamed to charts/latest/blob-csi-driver/templates/csi-blob-controller.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ apiVersion: apps/v1
33
metadata:
44
name: csi-blob-controller
55
namespace: {{ .Release.Namespace }}
6-
{{ include "blobfuse.labels" . | indent 2 }}
6+
{{ include "blob.labels" . | indent 2 }}
77
spec:
88
replicas: {{ .Values.controller.replicas }}
99
selector:
1010
matchLabels:
1111
app: csi-blob-controller
1212
template:
1313
metadata:
14-
{{ include "blobfuse.labels" . | indent 6 }}
14+
{{ include "blob.labels" . | indent 6 }}
1515
app: csi-blob-controller
1616
spec:
1717
hostNetwork: true
@@ -85,7 +85,7 @@ spec:
8585
cpu: 10m
8686
memory: 20Mi
8787
- name: blob
88-
image: "{{ .Values.image.blobfuse.repository }}:{{ .Values.image.blobfuse.tag }}"
88+
image: "{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
8989
args:
9090
- "--v=5"
9191
- "--endpoint=$(CSI_ENDPOINT)"
@@ -113,7 +113,7 @@ spec:
113113
optional: true
114114
- name: CSI_ENDPOINT
115115
value: unix:///csi/csi.sock
116-
imagePullPolicy: {{ .Values.image.blobfuse.pullPolicy }}
116+
imagePullPolicy: {{ .Values.image.blob.pullPolicy }}
117117
volumeMounts:
118118
- mountPath: /csi
119119
name: socket-dir

charts/latest/blobfuse-csi-driver/templates/csi-blob-node.yaml renamed to charts/latest/blob-csi-driver/templates/csi-blob-node.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ apiVersion: apps/v1
33
metadata:
44
name: csi-blob-node
55
namespace: {{ .Release.Namespace }}
6-
{{ include "blobfuse.labels" . | indent 2 }}
6+
{{ include "blob.labels" . | indent 2 }}
77
spec:
88
selector:
99
matchLabels:
1010
app: csi-blob-node
1111
template:
1212
metadata:
13-
{{ include "blobfuse.labels" . | indent 6 }}
13+
{{ include "blob.labels" . | indent 6 }}
1414
app: csi-blob-node
1515
spec:
1616
hostNetwork: true
@@ -67,7 +67,7 @@ spec:
6767
cpu: 10m
6868
memory: 20Mi
6969
- name: blob
70-
image: "{{ .Values.image.blobfuse.repository }}:{{ .Values.image.blobfuse.tag }}"
70+
image: "{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
7171
args:
7272
- "--v=5"
7373
- "--endpoint=$(CSI_ENDPOINT)"

charts/latest/blobfuse-csi-driver/templates/rbac-csi-blob-controller.yaml renamed to charts/latest/blob-csi-driver/templates/rbac-csi-blob-controller.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
kind: ClusterRole
33
apiVersion: rbac.authorization.k8s.io/v1
44
metadata:
5-
name: blobfuse-external-provisioner-role
6-
{{ include "blobfuse.labels" . | indent 2 }}
5+
name: blob-external-provisioner-role
6+
{{ include "blob.labels" . | indent 2 }}
77
rules:
88
- apiGroups: [""]
99
resources: ["persistentvolumes"]
@@ -32,25 +32,25 @@ rules:
3232
kind: ClusterRoleBinding
3333
apiVersion: rbac.authorization.k8s.io/v1
3434
metadata:
35-
name: blobfuse-csi-provisioner-binding
35+
name: blob-csi-provisioner-binding
3636
namespace: {{ .Release.Namespace }}
37-
{{ include "blobfuse.labels" . | indent 2 }}
37+
{{ include "blob.labels" . | indent 2 }}
3838
subjects:
3939
- kind: ServiceAccount
4040
name: csi-blob-controller-sa
4141
namespace: {{ .Release.Namespace }}
4242
roleRef:
4343
kind: ClusterRole
44-
name: blobfuse-external-provisioner-role
44+
name: blob-external-provisioner-role
4545
apiGroup: rbac.authorization.k8s.io
4646

4747
---
4848

4949
kind: ClusterRole
5050
apiVersion: rbac.authorization.k8s.io/v1
5151
metadata:
52-
name: blobfuse-external-attacher-role
53-
{{ include "blobfuse.labels" . | indent 2 }}
52+
name: blob-external-attacher-role
53+
{{ include "blob.labels" . | indent 2 }}
5454
rules:
5555
- apiGroups: [""]
5656
resources: ["persistentvolumes"]
@@ -73,25 +73,25 @@ rules:
7373
kind: ClusterRoleBinding
7474
apiVersion: rbac.authorization.k8s.io/v1
7575
metadata:
76-
name: blobfuse-csi-attacher-binding
76+
name: blob-csi-attacher-binding
7777
namespace: {{ .Release.Namespace }}
78-
{{ include "blobfuse.labels" . | indent 2 }}
78+
{{ include "blob.labels" . | indent 2 }}
7979
subjects:
8080
- kind: ServiceAccount
8181
name: csi-blob-controller-sa
8282
namespace: {{ .Release.Namespace }}
8383
roleRef:
8484
kind: ClusterRole
85-
name: blobfuse-external-attacher-role
85+
name: blob-external-attacher-role
8686
apiGroup: rbac.authorization.k8s.io
8787

8888
---
8989

9090
kind: ClusterRole
9191
apiVersion: rbac.authorization.k8s.io/v1
9292
metadata:
93-
name: blobfuse-external-snapshotter-role
94-
{{ include "blobfuse.labels" . | indent 2 }}
93+
name: blob-external-snapshotter-role
94+
{{ include "blob.labels" . | indent 2 }}
9595
rules:
9696
- apiGroups: [""]
9797
resources: ["persistentvolumes"]
@@ -129,16 +129,16 @@ rules:
129129
kind: ClusterRoleBinding
130130
apiVersion: rbac.authorization.k8s.io/v1
131131
metadata:
132-
name: blobfuse-csi-snapshotter-binding
132+
name: blob-csi-snapshotter-binding
133133
namespace: {{ .Release.Namespace }}
134-
{{ include "blobfuse.labels" . | indent 2 }}
134+
{{ include "blob.labels" . | indent 2 }}
135135
subjects:
136136
- kind: ServiceAccount
137137
name: csi-blob-controller-sa
138138
namespace: {{ .Release.Namespace }}
139139
roleRef:
140140
kind: ClusterRole
141-
name: blobfuse-external-snapshotter-role
141+
name: blob-external-snapshotter-role
142142
apiGroup: rbac.authorization.k8s.io
143143

144144
---

0 commit comments

Comments
 (0)