Skip to content

Commit e7fccb8

Browse files
nikhilymjaydeokar
authored andcommitted
efa: enable updateStrategy to be overridden through helm values
1 parent c64d880 commit e7fccb8

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

stable/aws-efa-k8s-device-plugin/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
name: aws-efa-k8s-device-plugin
33
description: A Helm chart for EFA device plugin.
4-
version: v0.5.16
4+
version: v0.5.17
55
appVersion: "v0.5.9"
66
home: https://github.com/aws/eks-charts
77
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png

stable/aws-efa-k8s-device-plugin/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ Parameter | Description | Default
3434
`nameOverride` | Override the name of the chart | `""`
3535
`fullnameOverride` | Override the full name of the chart | `""`
3636
`imagePullSecrets` | Docker registry pull secret | `[]`
37+
`updateStrategy` | Update strategy for deployment set | `type: RollingUpdate`
3738

stable/aws-efa-k8s-device-plugin/templates/daemonset.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ spec:
88
selector:
99
matchLabels:
1010
name: {{ include "aws-efa-k8s-device-plugin.fullname" . }}
11+
{{- with .Values.updateStrategy }}
1112
updateStrategy:
12-
type: RollingUpdate
13+
{{- toYaml . | nindent 4 }}
14+
{{- end }}
1315
template:
1416
metadata:
1517
{{- if .Values.additionalPodAnnotations }}

stable/aws-efa-k8s-device-plugin/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ resources:
182182
memory: 20Mi
183183
nodeSelector: {}
184184
# efa: present
185+
updateStrategy:
186+
type: RollingUpdate
185187
tolerations: []
186188
# - key: aws.amazon.com/efa
187189
# operator: Exists

0 commit comments

Comments
 (0)