Skip to content

Commit

Permalink
feat: adds deployment strategy type template (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
makampf authored Oct 13, 2023
1 parent 6c8475e commit 36fd8c2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/stream-processors/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ 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
- url: https://artifacthub.io/packages/helm/prometheus-community/kube-prometheus-stack
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"
2 changes: 2 additions & 0 deletions charts/stream-processors/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions charts/stream-processors/values-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ processors:
value: "test"
- name: AHD_PIPELINE
value: "discharge"
deploymentStrategyType: Recreate
resources:
requests:
memory: "512Mi"
Expand Down

0 comments on commit 36fd8c2

Please sign in to comment.