Skip to content

Commit 6900c86

Browse files
committed
chore: upgrade snapshot version and refine snapshot deployment
fix fix
1 parent 3b66756 commit 6900c86

16 files changed

+1731
-2032
lines changed
405 Bytes
Binary file not shown.

charts/latest/csi-driver-nfs/templates/crd-csi-snapshot.yaml

Lines changed: 840 additions & 0 deletions
Large diffs are not rendered by default.

charts/latest/csi-driver-nfs/templates/csi-nfs-controller.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ spec:
7070
- name: csi-snapshotter
7171
image: "{{ .Values.image.csiSnapshotter.repository }}:{{ .Values.image.csiSnapshotter.tag }}"
7272
args:
73-
- "--v=5"
73+
- "--v=2"
7474
- "--csi-address=$(ADDRESS)"
7575
- "--leader-election-namespace={{ .Release.Namespace }}"
7676
- "--leader-election"

charts/latest/csi-driver-nfs/templates/csi-snapshot-controller.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,28 @@ spec:
4040
app: {{ .Values.externalSnapshotter.name }}
4141
spec:
4242
serviceAccountName: {{ .Values.externalSnapshotter.name }}
43+
nodeSelector:
44+
kubernetes.io/os: linux
4345
priorityClassName: system-cluster-critical
4446
securityContext:
4547
seccompProfile:
4648
type: RuntimeDefault
49+
{{- with .Values.controller.tolerations }}
50+
tolerations:
51+
{{ toYaml . | indent 8 }}
52+
{{- end }}
4753
containers:
4854
- name: {{ .Values.externalSnapshotter.name }}
4955
image: {{ .Values.image.externalSnapshotter.repository }}:{{ .Values.image.externalSnapshotter.tag }}
5056
args:
51-
- "--v=5"
57+
- "--v=2"
5258
- "--leader-election=true"
5359
- "--leader-election-namespace={{ .Release.Namespace }}"
60+
resources:
61+
limits:
62+
memory: 100Mi
63+
requests:
64+
cpu: 10m
65+
memory: 20Mi
5466
imagePullPolicy: {{ .Values.image.externalSnapshotter.pullPolicy }}
5567
{{- end -}}

charts/latest/csi-driver-nfs/templates/snapshot.storage.k8s.io_volumesnapshotclasses.yaml

Lines changed: 0 additions & 146 deletions
This file was deleted.

0 commit comments

Comments
 (0)