Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated vsphere-csi to v2.2.1 #162

Merged
merged 1 commit into from
Jun 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions charts/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ images:
- name: csi-attacher
sourceRepository: https://github.com/kubernetes-csi/external-attacher
repository: quay.io/k8scsi/csi-attacher
tag: v3.0.0
tag: v3.1.0
- name: csi-resizer
sourceRepository: github.com/kubernetes-csi/external-resizer
repository: quay.io/k8scsi/csi-resizer
tag: v1.0.0
tag: v1.1.0
- name: csi-node-driver-registrar
sourceRepository: https://github.com/kubernetes-csi/node-driver-registrar
repository: quay.io/k8scsi/csi-node-driver-registrar
tag: v2.0.1
tag: v2.1.0
- name: csi-provisioner
sourceRepository: https://github.com/kubernetes-csi/external-provisioner
repository: quay.io/k8scsi/csi-provisioner
tag: v2.0.0
tag: v2.1.0
- name: vsphere-cloud-controller-manager
sourceRepository: github.com/MartinWeindel/cloud-provider-vsphere
repository: eu.gcr.io/gardener-project/test/cloud-provider-vsphere-martinweindel
Expand All @@ -35,15 +35,15 @@ images:
#tag: v2.0.1
sourceRepository: github.com/MartinWeindel/vsphere-csi-driver
repository: eu.gcr.io/gardener-project/patches/vsphere-csi-driver/driver
tag: v2.1.1-gardener1
tag: v2.2.1-gardener1
- name: vsphere-csi-driver-node
sourceRepository: github.com/kubernetes-sigs/vsphere-csi-driver
repository: gcr.io/cloud-provider-vsphere/csi/release/driver
tag: v2.1.1
tag: v2.2.1
- name: vsphere-csi-driver-syncer
sourceRepository: github.com/kubernetes-sigs/vsphere-csi-driver
repository: gcr.io/cloud-provider-vsphere/csi/release/syncer
tag: v2.1.1
tag: v2.2.1
- name: liveness-probe
sourceRepository: github.com/kubernetes-csi/livenessprobe
repository: k8s.gcr.io/sig-storage/livenessprobe
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ spec:
args:
- "--v=4"
- "--timeout=300s"
- "--handle-volume-inuse-error=false"
- "--csi-address=$(ADDRESS)"
- "--kube-api-qps=100"
- "--kube-api-burst=100"
- "--leader-election"
- --kubeconfig=/var/lib/csi-resizer/kubeconfig
env:
Expand Down Expand Up @@ -119,6 +122,9 @@ spec:
- name: healthz
containerPort: 9808
protocol: TCP
- name: prometheus
containerPort: 2112
protocol: TCP
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -177,6 +183,8 @@ spec:
- "--v=4"
- "--timeout=300s"
- "--csi-address=/csi/csi.sock"
- "--kube-api-qps=100"
- "--kube-api-burst=100"
- "--feature-gates=Topology=true"
- "--strict-topology"
- "--leader-election"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
data:
"csi-migration": "false"
"csi-auth-check": "true"
"online-volume-extend": "true"
kind: ConfigMap
metadata:
name: internal-feature-states.csi.vsphere.vmware.com
namespace: {{ .Release.Namespace }}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
app: vsphere-csi-node
role: vsphere-csi
spec:
automountServiceAccountToken: false
automountServiceAccountToken: true
hostNetwork: true
priorityClassName: system-node-critical
serviceAccount: csi-driver-node
Expand All @@ -44,8 +44,6 @@ spec:
value: /csi/csi.sock
- name: DRIVER_REG_SOCK_PATH
value: /var/lib/kubelet/plugins_registry/csi.vsphere.vmware.com/csi.sock
securityContext:
privileged: true
volumeMounts:
- name: plugin-dir
mountPath: /csi
Expand All @@ -69,6 +67,12 @@ spec:
- name: VSPHERE_CSI_CONFIG
value: "/etc/cloud/csi-vsphere.conf" # here csi-vsphere.conf is the name of the file used for creating secret using "--from-file" flag
{{- end }}
- name: LOGGER_LEVEL
value: "PRODUCTION" # Options: DEVELOPMENT, PRODUCTION
- name: CSI_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
securityContext:
privileged: true
capabilities:
Expand All @@ -87,6 +91,10 @@ spec:
mountPropagation: "Bidirectional"
- name: device-dir
mountPath: /dev
- name: blocks-dir
mountPath: /sys/block
- name: sys-devices-dir
mountPath: /sys/devices
ports:
- name: healthz
containerPort: 9808
Expand Down Expand Up @@ -127,4 +135,12 @@ spec:
type: Directory
- name: device-dir
hostPath:
path: /dev
path: /dev
- name: blocks-dir
hostPath:
path: /sys/block
type: Directory
- name: sys-devices-dir
hostPath:
path: /sys/devices
type: Directory
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,27 @@ kind: ServiceAccount
metadata:
name: csi-driver-node
namespace: {{ .Release.Namespace }}
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: vsphere-csi-node-role
namespace: {{ .Release.Namespace }}
rules:
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["get", "list", "watch"]
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: vsphere-csi-node-binding
namespace: {{ .Release.Namespace }}
subjects:
- kind: ServiceAccount
name: csi-driver-node
namespace: {{ .Release.Namespace }}
roleRef:
kind: Role
name: vsphere-csi-node-role
apiGroup: rbac.authorization.k8s.io