Skip to content

Commit

Permalink
doc: cut v0.9.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Sep 28, 2020
1 parent 112d424 commit 2092390
Show file tree
Hide file tree
Showing 24 changed files with 1,071 additions and 15 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Since `v0.7.0`, driver name changed from `blobfuse.csi.azure.com` to `blob.csi.a
|driver version |Image | 1.15+ | built-in blobfuse version |
|----------------|-------------------------------------------|--------|---------------------------|
|master branch |mcr.microsoft.com/k8s/csi/blob-csi:latest | yes | 1.3.4 |
|v0.9.0 |mcr.microsoft.com/k8s/csi/blob-csi:v0.9.0 | yes | 1.3.4 |
|v0.8.0 |mcr.microsoft.com/k8s/csi/blob-csi:v0.8.0 | yes | 1.3.1 |
|v0.7.0 |mcr.microsoft.com/k8s/csi/blob-csi:v0.7.0 | yes | 1.2.4 |

Expand Down
2 changes: 1 addition & 1 deletion charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ $ helm search repo -l blob-csi-driver/
### Install a specific version of Helm chart
Specify the version of the chart to be installed using the `--version` parameter.
```console
helm install blob-csi-driver blob-csi-driver/blob-csi-driver --namespace kube-system --version v0.8.0
helm install blob-csi-driver blob-csi-driver/blob-csi-driver --namespace kube-system --version v0.9.0
```

## Uninstall
Expand Down
42 changes: 30 additions & 12 deletions charts/index.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
apiVersion: v1
entries:
blob-csi-driver:
- apiVersion: v1
appVersion: v0.9.0
created: "2020-09-28T06:33:51.330609414Z"
description: Azure Blob Storage CSI driver
digest: d125014409cad519f12838390c176f81f34097a5ba759a177980255a9fe775e2
name: blob-csi-driver
urls:
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.9.0/blob-csi-driver-v0.9.0.tgz
version: v0.9.0
- apiVersion: v1
appVersion: v0.8.0
created: "2020-08-28T01:41:53.654464085Z"
created: "2020-09-28T06:33:51.329758005Z"
description: Azure Blob Storage CSI driver
digest: 8ac9fc62030ff7c7dd6deaa51db410d9b782578149347688b8f66b37ec33960f
name: blob-csi-driver
Expand All @@ -12,7 +21,7 @@ entries:
version: v0.8.0
- apiVersion: v1
appVersion: v0.7.0
created: "2020-08-28T01:41:53.653532676Z"
created: "2020-09-28T06:33:51.329031997Z"
description: Azure Blob Storage CSI driver
digest: 6d758b8e4a480a8d006f7e73c51d32ea0b568b8ba1364d4ac33549e3bedfc9a7
name: blob-csi-driver
Expand All @@ -21,35 +30,44 @@ entries:
version: v0.7.0
- apiVersion: v1
appVersion: latest
created: "2020-08-28T01:41:53.653993181Z"
created: "2020-09-28T06:33:51.327275079Z"
description: Azure Blob Storage CSI driver
digest: a85285af0500bfb2160f910863db8174f9e7399f845d784ff99dda7812accfdf
name: blob-csi-driver
urls:
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.8.0/blob-csi-driver-latest.tgz
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/latest/blob-csi-driver-latest.tgz
version: latest
- apiVersion: v1
appVersion: latest
created: "2020-08-28T01:41:53.650810248Z"
created: "2020-09-28T06:33:51.330183709Z"
description: Azure Blob Storage CSI driver
digest: a85285af0500bfb2160f910863db8174f9e7399f845d784ff99dda7812accfdf
name: blob-csi-driver
urls:
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.7.0/blob-csi-driver-latest.tgz
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.9.0/blob-csi-driver-latest.tgz
version: latest
- apiVersion: v1
appVersion: latest
created: "2020-08-28T01:41:53.649056429Z"
created: "2020-09-28T06:33:51.3293417Z"
description: Azure Blob Storage CSI driver
digest: a85285af0500bfb2160f910863db8174f9e7399f845d784ff99dda7812accfdf
name: blob-csi-driver
urls:
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/latest/blob-csi-driver-latest.tgz
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.8.0/blob-csi-driver-latest.tgz
version: latest
- apiVersion: v1
appVersion: latest
created: "2020-09-28T06:33:51.328726194Z"
description: Azure Blob Storage CSI driver
digest: a85285af0500bfb2160f910863db8174f9e7399f845d784ff99dda7812accfdf
name: blob-csi-driver
urls:
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.7.0/blob-csi-driver-latest.tgz
version: latest
blobfuse-csi-driver:
- apiVersion: v1
appVersion: v0.6.0
created: "2020-08-28T01:41:53.650380443Z"
created: "2020-09-28T06:33:51.328400891Z"
description: BlobFuse Container Storage Interface (CSI) Storage Plugin
digest: 2bea484bc1e87097b048ab2e1615683b8b7db614059fb624a0a2b18ad0920926
name: blobfuse-csi-driver
Expand All @@ -58,7 +76,7 @@ entries:
version: v0.6.0
- apiVersion: v1
appVersion: v0.5.0
created: "2020-08-28T01:41:53.649937339Z"
created: "2020-09-28T06:33:51.328085988Z"
description: BlobFuse Container Storage Interface (CSI) Storage Plugin
digest: 11441a6025c319e97c0605f520c4be063eadc482670655bb6ecc4426bee2d49c
name: blobfuse-csi-driver
Expand All @@ -67,11 +85,11 @@ entries:
version: v0.5.0
- apiVersion: v1
appVersion: v0.4.0
created: "2020-08-28T01:41:53.649476834Z"
created: "2020-09-28T06:33:51.327702484Z"
description: BlobFuse Container Storage Interface (CSI) Storage Plugin
digest: 263e474a08598f1c7f518c1efed43eb23d9f12b146b3c47deda77aa99c0ca385
name: blobfuse-csi-driver
urls:
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.4.0/blobfuse-csi-driver-v0.4.0.tgz
version: v0.4.0
generated: "2020-08-28T01:41:53.648447323Z"
generated: "2020-09-28T06:33:51.326678573Z"
Binary file added charts/v0.9.0/blob-csi-driver-v0.9.0.tgz
Binary file not shown.
5 changes: 5 additions & 0 deletions charts/v0.9.0/blob-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
appVersion: v0.9.0
description: Azure Blob Storage CSI driver
name: blob-csi-driver
version: v0.9.0
5 changes: 5 additions & 0 deletions charts/v0.9.0/blob-csi-driver/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
The Azure Blob Storage CSI driver is getting deployed to your cluster.

To check Azure Blob Storage CSI driver pods status, please run:

kubectl --namespace={{ .Release.Namespace }} get pods --selector="release={{ .Release.Name }}" --watch
21 changes: 21 additions & 0 deletions charts/v0.9.0/blob-csi-driver/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{{/* vim: set filetype=mustache: */}}

{{/* labels for helm resources */}}
{{- define "blob.labels" -}}
labels:
heritage: "{{ .Release.Service }}"
release: "{{ .Release.Name }}"
revision: "{{ .Release.Revision }}"
chart: "{{ .Chart.Name }}"
chartVersion: "{{ .Chart.Version }}"
{{- end -}}

{{/* pull secrets for containers */}}
{{- define "blob.pullSecrets" -}}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
{{- end -}}
124 changes: 124 additions & 0 deletions charts/v0.9.0/blob-csi-driver/templates/csi-blob-controller.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
kind: Deployment
apiVersion: apps/v1
metadata:
name: csi-blob-controller
namespace: {{ .Release.Namespace }}
{{ include "blob.labels" . | indent 2 }}
spec:
replicas: {{ .Values.controller.replicas }}
selector:
matchLabels:
app: csi-blob-controller
template:
metadata:
{{ include "blob.labels" . | indent 6 }}
app: csi-blob-controller
spec:
hostNetwork: true
serviceAccountName: csi-blob-controller-sa
nodeSelector:
kubernetes.io/os: linux
priorityClassName: system-cluster-critical
tolerations:
- key: "node-role.kubernetes.io/master"
operator: "Equal"
value: "true"
effect: "NoSchedule"
{{- include "blob.pullSecrets" . | indent 6 }}
containers:
- name: csi-provisioner
image: {{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}
args:
- "-v=5"
- "--csi-address=$(ADDRESS)"
- "--enable-leader-election"
- "--leader-election-type=leases"
- "--timeout=60s"
env:
- name: ADDRESS
value: /csi/csi.sock
imagePullPolicy: {{ .Values.image.csiProvisioner.pullPolicy }}
volumeMounts:
- mountPath: /csi
name: socket-dir
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 20Mi
- name: liveness-probe
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
args:
- --csi-address=/csi/csi.sock
- --connection-timeout=3s
- --health-port=29632
imagePullPolicy: {{ .Values.image.livenessProbe.pullPolicy }}
volumeMounts:
- name: socket-dir
mountPath: /csi
resources:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 10m
memory: 20Mi
- name: blob
image: "{{ .Values.image.blob.repository }}:{{ .Values.image.blob.tag }}"
args:
- "--v=5"
- "--endpoint=$(CSI_ENDPOINT)"
- "--metrics-address=0.0.0.0:{{ .Values.controller.metricsPort }}"
ports:
- containerPort: 29632
name: healthz
protocol: TCP
- containerPort: {{ .Values.controller.metricsPort }}
name: metrics
protocol: TCP
livenessProbe:
failureThreshold: 5
httpGet:
path: /healthz
port: healthz
initialDelaySeconds: 30
timeoutSeconds: 10
periodSeconds: 30
env:
- name: AZURE_CREDENTIAL_FILE
valueFrom:
configMapKeyRef:
name: azure-cred-file
key: path
optional: true
- name: CSI_ENDPOINT
value: unix:///csi/csi.sock
imagePullPolicy: {{ .Values.image.blob.pullPolicy }}
volumeMounts:
- mountPath: /csi
name: socket-dir
- mountPath: /etc/kubernetes/
name: azure-cred
- mountPath: /var/lib/waagent/ManagedIdentity-Settings
readOnly: true
name: msi
resources:
limits:
cpu: 200m
memory: 200Mi
requests:
cpu: 10m
memory: 20Mi
volumes:
- name: socket-dir
emptyDir: {}
- name: azure-cred
hostPath:
path: /etc/kubernetes/
type: Directory
- name: msi
hostPath:
path: /var/lib/waagent/ManagedIdentity-Settings
---
8 changes: 8 additions & 0 deletions charts/v0.9.0/blob-csi-driver/templates/csi-blob-driver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
apiVersion: storage.k8s.io/v1beta1
kind: CSIDriver
metadata:
name: blob.csi.azure.com
spec:
attachRequired: false
podInfoOnMount: true
Loading

0 comments on commit 2092390

Please sign in to comment.