diff --git a/charts/stream-processors/Chart.yaml b/charts/stream-processors/Chart.yaml index 15f08714..87c96735 100644 --- a/charts/stream-processors/Chart.yaml +++ b/charts/stream-processors/Chart.yaml @@ -8,7 +8,7 @@ keywords: - kafka - strimzi kafka operator - stream processing -version: 1.1.11 +version: 1.2.0 annotations: artifacthub.io/recommendations: | - url: https://artifacthub.io/packages/helm/strimzi/strimzi-kafka-operator @@ -16,5 +16,5 @@ annotations: artifacthub.io/changes: | # When using the list of objects option the valid supported kinds are # added, changed, deprecated, removed, fixed and security. - - kind: changed - description: "Updated docs to use OCI chart repository" + - kind: added + description: "Added deployment strategy type template with default RollingUpdate" diff --git a/charts/stream-processors/templates/deployment.yaml b/charts/stream-processors/templates/deployment.yaml index 826e65fe..310a68f9 100644 --- a/charts/stream-processors/templates/deployment.yaml +++ b/charts/stream-processors/templates/deployment.yaml @@ -21,6 +21,8 @@ spec: matchLabels: app.kubernetes.io/name: {{ $name }} app.kubernetes.io/instance: {{ $.Release.Name }}-{{ $name }} + strategy: + type: {{ default "RollingUpdate" .deploymentStrategyType }} template: metadata: labels: diff --git a/charts/stream-processors/values-test.yaml b/charts/stream-processors/values-test.yaml index 6a8ab064..87cbb6b9 100644 --- a/charts/stream-processors/values-test.yaml +++ b/charts/stream-processors/values-test.yaml @@ -78,6 +78,7 @@ processors: value: "test" - name: AHD_PIPELINE value: "discharge" + deploymentStrategyType: Recreate resources: requests: memory: "512Mi"