Enable Volumesnapshot/resize, disable leader election of single instance
This commit is contained in:
parent
9dab68e0d3
commit
a600591b28
@ -2,7 +2,8 @@ apiVersion: v2
|
||||
name: kubezero-aws-ebs-csi-driver
|
||||
description: KubeZero Umbrella Chart for aws-ebs-csi-driver
|
||||
type: application
|
||||
version: 0.1.1
|
||||
version: 0.2.0
|
||||
appVersion: 0.5.0
|
||||
home: https://kubezero.com
|
||||
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png
|
||||
sources:
|
||||
|
@ -91,8 +91,10 @@ spec:
|
||||
{{- if .Values.enableVolumeScheduling }}
|
||||
- --feature-gates=Topology=true
|
||||
{{- end}}
|
||||
{{- if gt .Values.replicaCount 1 }}
|
||||
- --enable-leader-election
|
||||
- --leader-election-type=leases
|
||||
{{- end}}
|
||||
env:
|
||||
- name: ADDRESS
|
||||
value: /var/lib/csi/sockets/pluginproxy/csi.sock
|
||||
@ -104,8 +106,10 @@ spec:
|
||||
args:
|
||||
- --csi-address=$(ADDRESS)
|
||||
- --v=5
|
||||
{{- if gt .Values.replicaCount 1 }}
|
||||
- --leader-election=true
|
||||
- --leader-election-type=leases
|
||||
{{- end}}
|
||||
env:
|
||||
- name: ADDRESS
|
||||
value: /var/lib/csi/sockets/pluginproxy/csi.sock
|
||||
@ -117,7 +121,9 @@ spec:
|
||||
image: {{ printf "%s:%s" .Values.sidecars.snapshotterImage.repository .Values.sidecars.snapshotterImage.tag }}
|
||||
args:
|
||||
- --csi-address=$(ADDRESS)
|
||||
{{- if gt .Values.replicaCount 1 }}
|
||||
- --leader-election=true
|
||||
{{- end}}
|
||||
env:
|
||||
- name: ADDRESS
|
||||
value: /var/lib/csi/sockets/pluginproxy/csi.sock
|
||||
|
@ -2,8 +2,8 @@ aws-ebs-csi-driver:
|
||||
replicaCount: 1
|
||||
|
||||
enableVolumeScheduling: true
|
||||
enableVolumeResizing: false
|
||||
enableVolumeSnapshot: false
|
||||
enableVolumeResizing: true
|
||||
enableVolumeSnapshot: true
|
||||
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/master: ""
|
||||
|
Loading…
Reference in New Issue
Block a user