2021-03-05 09:32:42 +00:00
|
|
|
diff -rtubN aws-ebs-csi-driver.orig/templates/controller.yaml aws-ebs-csi-driver/templates/controller.yaml
|
|
|
|
--- aws-ebs-csi-driver.orig/templates/controller.yaml 2021-03-05 03:10:41.000000000 +0100
|
|
|
|
+++ aws-ebs-csi-driver/templates/controller.yaml 2021-03-05 10:29:31.878615411 +0100
|
|
|
|
@@ -68,7 +68,7 @@
|
2021-02-24 19:36:34 +00:00
|
|
|
- --k8s-tag-cluster-id={{ .Values.k8sTagClusterId }}
|
|
|
|
{{- end }}
|
|
|
|
- --logtostderr
|
|
|
|
- - --v=5
|
|
|
|
+ - --v={{ .Values.logLevel }}
|
|
|
|
env:
|
|
|
|
- name: CSI_ENDPOINT
|
|
|
|
value: unix:///var/lib/csi/sockets/pluginproxy/csi.sock
|
2021-03-05 09:32:42 +00:00
|
|
|
@@ -126,14 +126,14 @@
|
2021-02-24 19:36:34 +00:00
|
|
|
image: {{ printf "%s:%s" .Values.sidecars.provisionerImage.repository .Values.sidecars.provisionerImage.tag }}
|
|
|
|
args:
|
|
|
|
- --csi-address=$(ADDRESS)
|
|
|
|
- - --v=5
|
|
|
|
+ - --v={{ .Values.logLevel }}
|
|
|
|
{{- if .Values.enableVolumeScheduling }}
|
|
|
|
- --feature-gates=Topology=true
|
|
|
|
{{- end}}
|
|
|
|
{{- if .Values.extraCreateMetadata }}
|
|
|
|
- --extra-create-metadata
|
|
|
|
{{- end}}
|
|
|
|
- - --leader-election=true
|
|
|
|
+ - --leader-election={{ ternary "true" "false" ( gt (.Values.replicaCount|int) 1 ) }}
|
|
|
|
- --default-fstype=ext4
|
|
|
|
env:
|
|
|
|
- name: ADDRESS
|
2021-03-05 09:32:42 +00:00
|
|
|
@@ -156,8 +156,8 @@
|
2021-02-24 19:36:34 +00:00
|
|
|
image: {{ printf "%s:%s" .Values.sidecars.attacherImage.repository .Values.sidecars.attacherImage.tag }}
|
|
|
|
args:
|
|
|
|
- --csi-address=$(ADDRESS)
|
|
|
|
- - --v=5
|
|
|
|
- - --leader-election=true
|
|
|
|
+ - --v={{ .Values.logLevel }}
|
|
|
|
+ - --leader-election={{ ternary "true" "false" ( gt (.Values.replicaCount|int) 1 ) }}
|
|
|
|
env:
|
|
|
|
- name: ADDRESS
|
|
|
|
value: /var/lib/csi/sockets/pluginproxy/csi.sock
|
2021-03-05 09:32:42 +00:00
|
|
|
@@ -180,7 +180,7 @@
|
2021-02-24 19:36:34 +00:00
|
|
|
image: {{ printf "%s:%s" .Values.sidecars.snapshotterImage.repository .Values.sidecars.snapshotterImage.tag }}
|
|
|
|
args:
|
|
|
|
- --csi-address=$(ADDRESS)
|
|
|
|
- - --leader-election=true
|
|
|
|
+ - --leader-election={{ ternary "true" "false" ( gt (.Values.replicaCount|int) 1 ) }}
|
|
|
|
env:
|
|
|
|
- name: ADDRESS
|
|
|
|
value: /var/lib/csi/sockets/pluginproxy/csi.sock
|
2021-03-05 09:32:42 +00:00
|
|
|
@@ -205,7 +205,7 @@
|
2021-02-24 19:36:34 +00:00
|
|
|
imagePullPolicy: Always
|
|
|
|
args:
|
|
|
|
- --csi-address=$(ADDRESS)
|
|
|
|
- - --v=5
|
|
|
|
+ - --v={{ .Values.logLevel }}
|
|
|
|
env:
|
|
|
|
- name: ADDRESS
|
|
|
|
value: /var/lib/csi/sockets/pluginproxy/csi.sock
|
2021-03-05 09:32:42 +00:00
|
|
|
diff -rtubN aws-ebs-csi-driver.orig/templates/node.yaml aws-ebs-csi-driver/templates/node.yaml
|
|
|
|
--- aws-ebs-csi-driver.orig/templates/node.yaml 2021-03-05 03:10:41.000000000 +0100
|
|
|
|
+++ aws-ebs-csi-driver/templates/node.yaml 2021-03-05 10:30:07.391950366 +0100
|
|
|
|
@@ -61,7 +61,7 @@
|
2021-02-24 19:36:34 +00:00
|
|
|
- --volume-attach-limit={{ .Values.volumeAttachLimit }}
|
|
|
|
{{- end }}
|
|
|
|
- --logtostderr
|
|
|
|
- - --v=5
|
|
|
|
+ - --v={{ .Values.logLevel }}
|
|
|
|
env:
|
|
|
|
- name: CSI_ENDPOINT
|
|
|
|
value: unix:/csi/csi.sock
|
2021-03-05 09:32:42 +00:00
|
|
|
@@ -107,7 +107,7 @@
|
2021-02-24 19:36:34 +00:00
|
|
|
args:
|
|
|
|
- --csi-address=$(ADDRESS)
|
|
|
|
- --kubelet-registration-path=$(DRIVER_REG_SOCK_PATH)
|
|
|
|
- - --v=5
|
|
|
|
+ - --v={{ .Values.logLevel }}
|
2021-03-05 09:32:42 +00:00
|
|
|
env:
|
|
|
|
- name: ADDRESS
|
|
|
|
value: /csi/csi.sock
|
|
|
|
diff -rtubN aws-ebs-csi-driver.orig/templates/statefulset.yaml aws-ebs-csi-driver/templates/statefulset.yaml
|
|
|
|
--- aws-ebs-csi-driver.orig/templates/statefulset.yaml 2021-03-05 03:10:41.000000000 +0100
|
|
|
|
+++ aws-ebs-csi-driver/templates/statefulset.yaml 2021-03-05 10:29:31.881948744 +0100
|
|
|
|
@@ -49,7 +49,7 @@
|
|
|
|
value: {{ .Values.proxy.no_proxy | quote }}
|
|
|
|
{{- end }}
|
2021-02-24 19:36:34 +00:00
|
|
|
args:
|
|
|
|
- - --v=5
|
|
|
|
+ - --v={{ .Values.logLevel }}
|
|
|
|
- --leader-election=false
|
|
|
|
{{- if .Values.imagePullSecrets }}
|
|
|
|
imagePullSecrets:
|
2021-03-05 09:32:42 +00:00
|
|
|
diff -rtubN aws-ebs-csi-driver.orig/values.yaml aws-ebs-csi-driver/values.yaml
|
|
|
|
--- aws-ebs-csi-driver.orig/values.yaml 2021-03-05 03:10:41.000000000 +0100
|
|
|
|
+++ aws-ebs-csi-driver/values.yaml 2021-03-05 10:29:31.881948744 +0100
|
2021-02-24 19:36:34 +00:00
|
|
|
@@ -9,6 +9,8 @@
|
|
|
|
tag: "v0.9.0"
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
+logLevel: 5
|
|
|
|
+
|
|
|
|
sidecars:
|
|
|
|
provisionerImage:
|
|
|
|
repository: k8s.gcr.io/sig-storage/csi-provisioner
|