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