Skip to content

Commit 5e788f8

Browse files
committed
fix: revert to with updateStrategy block
1 parent c9cbe69 commit 5e788f8

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

deployments/helm/dra-example-driver/templates/kubeletplugin.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ spec:
1212
matchLabels:
1313
{{- include "dra-example-driver.selectorLabels" . | nindent 6 }}
1414
app.kubernetes.io/component: kubeletplugin
15+
{{- with .Values.kubeletPlugin.updateStrategy }}
1516
updateStrategy:
16-
{{- if .Values.kubeletPlugin.updateStrategy }}
17-
{{- toYaml .Values.kubeletPlugin.updateStrategy | nindent 4 }}
18-
{{- else }}
19-
type: RollingUpdate
20-
{{- end }}
17+
{{- toYaml . | nindent 4 }}
18+
{{- end }}
2119
template:
2220
metadata:
2321
{{- with .Values.kubeletPlugin.podAnnotations }}

0 commit comments

Comments
 (0)