Skip to content

Commit 60e040f

Browse files
Add revisionHistoryLimit support to Node DaemonSet and Controller Deployment
1 parent 3226e70 commit 60e040f

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

charts/aws-efs-csi-driver/templates/controller-deployment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ metadata:
1111
{{- end }}
1212
spec:
1313
replicas: {{ .Values.controller.replicaCount }}
14+
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }}
1415
selector:
1516
matchLabels:
1617
app: efs-csi-controller

charts/aws-efs-csi-driver/templates/node-daemonset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ metadata:
99
{{ toYaml . | nindent 4 }}
1010
{{- end }}
1111
spec:
12+
revisionHistoryLimit: {{ .Values.node.revisionHistoryLimit }}
1213
selector:
1314
matchLabels:
1415
app: efs-csi-node

charts/aws-efs-csi-driver/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ controller:
8181
# requests:
8282
# cpu: 100m
8383
# memory: 128Mi
84+
revisionHistoryLimit: 10
8485
nodeSelector: {}
8586
updateStrategy: {}
8687
tolerations:
@@ -164,6 +165,7 @@ node:
164165
# requests:
165166
# cpu: 100m
166167
# memory: 128Mi
168+
revisionHistoryLimit: 10
167169
nodeSelector: {}
168170
updateStrategy:
169171
{}

0 commit comments

Comments
 (0)