diff --git a/helm-guestbook/templates/deployment.yaml b/helm-guestbook/templates/deployment.yaml index 980df25..6205be3 100644 --- a/helm-guestbook/templates/deployment.yaml +++ b/helm-guestbook/templates/deployment.yaml @@ -1,5 +1,5 @@ -apiVersion: apps/v1 -kind: Deployment +apiVersion: argoproj.io/v1alpha1 +kind: Rollout metadata: name: {{ template "helm-guestbook.fullname" . }} labels: @@ -50,3 +50,8 @@ spec: tolerations: {{ toYaml . | indent 8 }} {{- end }} + strategy: + canary: # A new field that used to provide configurable options for a Canary strategy + steps: + - setWeight: 20 + - pause: {}