Merge pull request #25 from abh/strategy

Support specifying deployment strategy
This commit is contained in:
Charlie Drage 2020-06-05 11:10:47 -04:00 committed by GitHub
commit deb8d4186c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 1 deletions

View file

@ -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: