Skip to content

Commit

Permalink
Add revisionHistoryLimit support to Node DaemonSet and Controller Dep…
Browse files Browse the repository at this point in the history
…loyment
  • Loading branch information
booleanbetrayal committed Jun 18, 2024
1 parent 6d8c526 commit d0ee4bc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ metadata:
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }}
selector:
matchLabels:
app: efs-csi-controller
Expand Down
1 change: 1 addition & 0 deletions charts/aws-efs-csi-driver/templates/node-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
labels:
app.kubernetes.io/name: {{ include "aws-efs-csi-driver.name" . }}
spec:
revisionHistoryLimit: {{ .Values.node.revisionHistoryLimit }}
selector:
matchLabels:
app: efs-csi-node
Expand Down
2 changes: 2 additions & 0 deletions charts/aws-efs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ controller:
# requests:
# cpu: 100m
# memory: 128Mi
revisionHistoryLimit: 10
nodeSelector: {}
updateStrategy: {}
tolerations:
Expand Down Expand Up @@ -152,6 +153,7 @@ node:
# requests:
# cpu: 100m
# memory: 128Mi
revisionHistoryLimit: 10
nodeSelector: {}
updateStrategy: {}
# Override default strategy (RollingUpdate) to speed up deployment.
Expand Down

0 comments on commit d0ee4bc

Please sign in to comment.