Skip to content

Commit

Permalink
azuredisk: bump version to 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Hector Fernandez committed Feb 3, 2020
1 parent e042f83 commit a1e5a17
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 16 deletions.
4 changes: 2 additions & 2 deletions stable/azuredisk-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: v1
appVersion: 0.4.0
appVersion: 0.5.0
description: Azure disk Container Storage Interface (CSI) Storage Plugin
name: azuredisk-csi-driver
maintainers:
- name: sebbrandt87
version: 0.4.0
version: 0.5.0
kubeVersion: ">=1.15.0"
home: https://github.com/kubernetes-sigs/azuredisk-csi-driver
sources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ spec:
priorityClassName: system-cluster-critical
containers:
- name: csi-provisioner
image: quay.io/k8scsi/csi-provisioner:v1.4.0
image: "{{ .Values.image.csiProvisioner.repository }}:{{ .Values.image.csiProvisioner.tag }}"
args:
- "--provisioner=disk.csi.azure.com"
- --csi-address=$(ADDRESS)
- --timeout=30s
- --timeout=120s
- --retry-interval-start=1s
- --retry-interval-max=5m
- --worker-threads=100
Expand All @@ -32,6 +33,7 @@ spec:
{{- end}}
- --enable-leader-election
- --leader-election-type=leases
- "--v=5"
env:
- name: ADDRESS
value: /csi/csi.sock
Expand All @@ -40,14 +42,16 @@ spec:
- mountPath: /csi
name: socket-dir
- name: csi-attacher
image: quay.io/k8scsi/csi-attacher:v2.0.0
image: "{{ .Values.image.csiAttacher.repository }}:{{ .Values.image.csiAttacher.tag }}"
args:
- --v=5
- --csi-address=$(ADDRESS)
- --timeout=120s
- --retry-interval-start=1s
- --retry-interval-max=5m
- --worker-threads=20
- "-leader-election"
- "-leader-election-type=leases"
env:
- name: ADDRESS
value: /csi/csi.sock
Expand All @@ -56,7 +60,7 @@ spec:
- mountPath: /csi
name: socket-dir
- name: cluster-driver-registrar
image: quay.io/k8scsi/csi-cluster-driver-registrar:v1.0.1
image: "{{ .Values.image.clusterDriverRegistrar.repository }}:{{ .Values.image.clusterDriverRegistrar.tag }}"
args:
- --csi-address=$(ADDRESS)
- --driver-requires-attachment=true
Expand All @@ -68,17 +72,30 @@ spec:
- name: socket-dir
mountPath: /csi
- name: csi-snapshotter
image: quay.io/k8scsi/csi-snapshotter:v1.2.2
image: "{{ .Values.image.csiSnapshotter.repository }}:{{ .Values.image.csiSnapshotter.tag }}"
args:
- --csi-address=$(ADDRESS)
- "-leader-election"
env:
- name: ADDRESS
value: /csi/csi.sock
volumeMounts:
- name: socket-dir
mountPath: /csi
- name: csi-resizer
image: "{{ .Values.image.csiResizer.repository }}:{{ .Values.image.csiResizer.tag }}"
args:
- "-csi-address=$(ADDRESS)"
- "-v=5"
- "-leader-election"
env:
- name: ADDRESS
value: /csi/csi.sock
volumeMounts:
- name: socket-dir
mountPath: /csi
- name: liveness-probe
image: quay.io/k8scsi/livenessprobe:v1.1.0
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
args:
- --csi-address=/csi/csi.sock
- --connection-timeout=3s
Expand All @@ -87,7 +104,7 @@ spec:
- name: socket-dir
mountPath: /csi
- name: azuredisk
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
image: "{{ .Values.image.azuredisk.repository }}:{{ .Values.image.azuredisk.tag }}"
args:
- "--v=5"
- "--endpoint=$(CSI_ENDPOINT)"
Expand Down
6 changes: 3 additions & 3 deletions stable/azuredisk-csi-driver/templates/csi-azuredisk-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ spec:
volumeMounts:
- mountPath: /csi
name: socket-dir
image: quay.io/k8scsi/livenessprobe:v1.1.0
image: "{{ .Values.image.livenessProbe.repository }}:{{ .Values.image.livenessProbe.tag }}"
args:
- --csi-address=/csi/csi.sock
- --connection-timeout=3s
- --health-port=9602
- name: node-driver-registrar
image: quay.io/k8scsi/csi-node-driver-registrar:v1.2.0
image: "{{ .Values.image.nodeDriverRegistrar.repository }}:{{ .Values.image.nodeDriverRegistrar.tag }}"
args:
- --csi-address=$(ADDRESS)
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
Expand All @@ -49,7 +49,7 @@ spec:
- name: registration-dir
mountPath: /registration
- name: azuredisk
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
image: "{{ .Values.image.azuredisk.repository }}:{{ .Values.image.azuredisk.tag }}"
args:
- "--v=5"
- "--endpoint=$(CSI_ENDPOINT)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ rules:
verbs: ["get", "list", "watch"]
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
verbs: ["get", "watch", "list", "delete", "update", "create"]
verbs: ["get", "watch", "list", "delete", "update", "create", "patch"]

---

Expand Down Expand Up @@ -166,4 +166,40 @@ roleRef:
kind: ClusterRole
name: azuredisk-external-snapshotter-role
apiGroup: rbac.authorization.k8s.io

---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: azuredisk-external-resizer-role
namespace: {{ .Release.Namespace }}
{{ include "azuredisk.labels" . | indent 2 }}
rules:
- apiGroups: [""]
resources: ["persistentvolumes"]
verbs: ["get", "list", "watch", "update", "patch"]
- apiGroups: [""]
resources: ["persistentvolumeclaims"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["persistentvolumeclaims/status"]
verbs: ["update", "patch"]
- apiGroups: [""]
resources: ["events"]
verbs: ["list", "watch", "create", "update", "patch"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: azuredisk-csi-resizer-role
namespace: {{ .Release.Namespace }}
{{ include "azuredisk.labels" . | indent 2 }}
subjects:
- kind: ServiceAccount
name: csi-azuredisk-controller-sa
namespace: {{ .Release.Namespace }}
roleRef:
kind: ClusterRole
name: azuredisk-external-resizer-role
apiGroup: rbac.authorization.k8s.io
{{ end }}
38 changes: 35 additions & 3 deletions stable/azuredisk-csi-driver/values.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,46 @@
image:
repository: mcr.microsoft.com/k8s/csi/azuredisk-csi
tag: v0.4.0
pullPolicy: Always
azuredisk:
repository: mcr.microsoft.com/k8s/csi/azuredisk-csi
tag: v0.5.0
pullPolicy: Always
csiProvisioner:
repository: mcr.microsoft.com/oss/kubernetes-csi/csi-provisioner
tag: v1.4.0
pullPolicy: Always
csiAttacher:
repository: mcr.microsoft.com/oss/kubernetes-csi/csi-attacher
tag: v1.2.0
pullPolicy: Always
clusterDriverRegistrar:
repository: mcr.microsoft.com/oss/kubernetes-csi/csi-cluster-driver-registrar
tag: v1.0.1
pullPolicy: Always
csiSnapshotter:
repository: mcr.microsoft.com/oss/kubernetes-csi/csi-snapshotter
tag: v1.1.0
pullPolicy: Always
csiResizer:
repository: mcr.microsoft.com/oss/kubernetes-csi/csi-resizer
tag: v0.3.0
pullPolicy: Always
livenessProbe:
repository: mcr.microsoft.com/oss/kubernetes-csi/livenessprobe
tag: v1.1.0
pullPolicy: Always
nodeDriverRegistrar:
repository: mcr.microsoft.com/oss/kubernetes-csi/csi-node-driver-registrar
tag: v1.1.0
pullPolicy: Always

serviceAccount:
create: true

rbac:
create: true

controller:
replicas: 3

# True if enable volume scheduling for dynamic volume provisioning
enableVolumeScheduling: false

Expand Down

0 comments on commit a1e5a17

Please sign in to comment.