Support specifying deployment strategy
This commit is contained in:
parent
18a7e0edb0
commit
194cda4c52
2 changed files with 16 additions and 1 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
|
@ -13,6 +12,10 @@ spec:
|
|||
selector:
|
||||
matchLabels:
|
||||
app: {{ template "fullname" . }}
|
||||
{{- with .Values.deploymentStrategy }}
|
||||
strategy:
|
||||
{{ toYaml . | trim | indent 4 }}
|
||||
{{- end }}
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue