diff --git a/step-issuer/README.md b/step-issuer/README.md index b60868f..731e191 100644 --- a/step-issuer/README.md +++ b/step-issuer/README.md @@ -52,6 +52,7 @@ and their default values. | `image.pullPolicy` | Step Issuer image pull policy | `IfNotPresent` | | `deployment.args.enableLeaderElection` | Enable k8s controller leader election. | `true` | | `deployment.args.disableApprovalCheck` | To disable cert-manager approvals on old version of cert-manager. | `false` | +| `deployment.strategy` | To change the deployment strategy. | `{}` | | `stepIssuer.create` | If we should automatically create a StepIssuer | `false` | | `stepIssuer.caUrl` | Step Certificates CA URL. This is usually the step certificates service FQDN. | `""` | | `stepIssuer.caBundle` | Step Certificates root certificate in a single-line base64 string. | `""` | diff --git a/step-issuer/templates/deployment.yaml b/step-issuer/templates/deployment.yaml index 2f9cf08..d1f12e3 100644 --- a/step-issuer/templates/deployment.yaml +++ b/step-issuer/templates/deployment.yaml @@ -7,6 +7,9 @@ metadata: control-plane: {{ .Values.service.controlPlane }} {{- include "step-issuer.labels" . | nindent 4 }} spec: + {{- if .Values.deployment.strategy }} + strategy: {{ toYaml .Values.deployment.strategy | nindent 4 }} + {{- end }} replicas: {{ .Values.replicaCount }} selector: matchLabels: diff --git a/step-issuer/values.yaml b/step-issuer/values.yaml index bb1b5ad..3569f4c 100644 --- a/step-issuer/values.yaml +++ b/step-issuer/values.yaml @@ -33,6 +33,8 @@ deployment: enableLeaderElection: true disableApprovalCheck: false terminationGracePeriodSeconds: 10 + # Strategy used for the deployment + strategy: {} resources: limits: