diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 4f3564c..cfc55ba 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -16,12 +16,10 @@ spec: selector: matchLabels: {{- include "krakend.selectorLabels" . | nindent 6 }} - {{- if eq .Values.deploymentType "rollout" }} {{- with .Values.strategy }} strategy: {{- toYaml . | nindent 4 }} {{- end }} - {{- end }} template: metadata: annotations: diff --git a/values.yaml b/values.yaml index 094d478..ab779d8 100644 --- a/values.yaml +++ b/values.yaml @@ -19,6 +19,9 @@ deploymentType: deployment # a `deployment` or a `rollout` strategy. # For more information on the Argo Rollout strategy, see https://argo-rollouts.readthedocs.io/en/stable/features/specification/ strategy: {} +# rollingUpdate: +# maxSurge: 25% +# maxUnavailable: 10% krakend: # -- (bool) Whether the given krakend image to be used contains everything needed