Skip to content

Commit

Permalink
Merge pull request #301 from andyzhangx/cut-v0.7.1
Browse files Browse the repository at this point in the history
doc: cut v0.7.1 release
  • Loading branch information
andyzhangx authored Dec 30, 2020
2 parents 3a9dd2d + 82c0f36 commit 22ce2c6
Show file tree
Hide file tree
Showing 23 changed files with 1,114 additions and 28 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ GIT_COMMIT ?= $(shell git rev-parse HEAD)
REGISTRY ?= andyzhangx
REGISTRY_NAME ?= $(shell echo $(REGISTRY) | sed "s/.azurecr.io//g")
IMAGE_NAME ?= blob-csi
IMAGE_VERSION ?= v0.7.0
IMAGE_VERSION ?= v0.7.1
# Use a custom version for E2E tests if we are in Prow
ifdef CI
ifndef PUBLISH
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Since `v0.7.0`, driver name changed from `blobfuse.csi.azure.com` to `blob.csi.a
|Azure Blob Storage CSI driver Version | Image | 1.14+ |
|-----------------------------------------|----------------------------------------------|--------|
|master branch |mcr.microsoft.com/k8s/csi/blob-csi:latest | yes |
|v0.7.0 |mcr.microsoft.com/k8s/csi/blob-csi:v0.7.0 | yes |
|v0.7.1 |mcr.microsoft.com/k8s/csi/blob-csi:v0.7.1 | yes |

### Driver parameters
Please refer to `blob.csi.azure.com` [driver parameters](./docs/driver-parameters.md)
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.7.0
helm install blob-csi-driver blob-csi-driver/blob-csi-driver --namespace kube-system --version v0.7.1
```

## Uninstall
Expand Down
38 changes: 14 additions & 24 deletions charts/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,26 @@ apiVersion: v1
entries:
blob-csi-driver:
- apiVersion: v1
appVersion: v0.7.0
created: "2020-08-14T02:58:30.518545111Z"
description: Azure Blob Storage CSI driver
digest: 6d758b8e4a480a8d006f7e73c51d32ea0b568b8ba1364d4ac33549e3bedfc9a7
name: blob-csi-driver
urls:
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.7.0/blob-csi-driver-v0.7.0.tgz
version: v0.7.0
- apiVersion: v1
appVersion: latest
created: "2020-08-14T02:58:30.518080406Z"
appVersion: v0.7.1
created: "2020-12-30T02:50:05.304217196Z"
description: Azure Blob Storage CSI driver
digest: a85285af0500bfb2160f910863db8174f9e7399f845d784ff99dda7812accfdf
digest: d6ac5c1ee779f84f8051040f08e81987ebc9e2f6893ab18789a3e7a55a847088
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
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.7.1/blob-csi-driver-v0.7.1.tgz
version: v0.7.1
- apiVersion: v1
appVersion: latest
created: "2020-08-14T02:58:30.515604779Z"
appVersion: v0.7.0
created: "2020-12-30T02:50:05.303304489Z"
description: Azure Blob Storage CSI driver
digest: a85285af0500bfb2160f910863db8174f9e7399f845d784ff99dda7812accfdf
digest: 6d758b8e4a480a8d006f7e73c51d32ea0b568b8ba1364d4ac33549e3bedfc9a7
name: blob-csi-driver
urls:
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/latest/blob-csi-driver-latest.tgz
version: latest
blobfuse-csi-driver:
- https://raw.githubusercontent.com/kubernetes-sigs/blob-csi-driver/master/charts/v0.7.0/blob-csi-driver-v0.7.0.tgz
version: v0.7.0
- apiVersion: v1
appVersion: v0.6.0
created: "2020-08-14T02:58:30.5175966Z"
created: "2020-12-30T02:50:05.301516574Z"
description: BlobFuse Container Storage Interface (CSI) Storage Plugin
digest: 2bea484bc1e87097b048ab2e1615683b8b7db614059fb624a0a2b18ad0920926
name: blobfuse-csi-driver
Expand All @@ -40,7 +30,7 @@ entries:
version: v0.6.0
- apiVersion: v1
appVersion: v0.5.0
created: "2020-08-14T02:58:30.517063195Z"
created: "2020-12-30T02:50:05.29974996Z"
description: BlobFuse Container Storage Interface (CSI) Storage Plugin
digest: 11441a6025c319e97c0605f520c4be063eadc482670655bb6ecc4426bee2d49c
name: blobfuse-csi-driver
Expand All @@ -49,11 +39,11 @@ entries:
version: v0.5.0
- apiVersion: v1
appVersion: v0.4.0
created: "2020-08-14T02:58:30.516061584Z"
created: "2020-12-30T02:50:05.298649052Z"
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-14T02:58:30.51392056Z"
generated: "2020-12-30T02:50:05.294857721Z"
Binary file added charts/v0.7.1/blob-csi-driver-v0.7.1.tgz
Binary file not shown.
5 changes: 5 additions & 0 deletions charts/v0.7.1/blob-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: v1
appVersion: v0.7.1
description: Azure Blob Storage CSI driver
name: blob-csi-driver
version: v0.7.1
5 changes: 5 additions & 0 deletions charts/v0.7.1/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
11 changes: 11 additions & 0 deletions charts/v0.7.1/blob-csi-driver/templates/_helpers.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{{/* 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 -}}
142 changes: 142 additions & 0 deletions charts/v0.7.1/blob-csi-driver/templates/csi-blob-controller.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
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"
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"
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: csi-attacher
image: "{{ .Values.image.csiAttacher.repository }}:{{ .Values.image.csiAttacher.tag }}"
args:
- "-v=5"
- "-csi-address=$(ADDRESS)"
- "-timeout=120s"
- "-leader-election"
env:
- name: ADDRESS
value: /csi/csi.sock
imagePullPolicy: {{ .Values.image.csiAttacher.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)"
ports:
- containerPort: 29632
name: healthz
protocol: TCP
- containerPort: 29634
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.7.1/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 22ce2c6

Please sign in to comment.