Skip to content

Commit

Permalink
Merge pull request #2070 from bosch-io/bugfix/pdb-thingssearch
Browse files Browse the repository at this point in the history
Fix Pod Disruption Budget value for thingssearch
  • Loading branch information
thjaeckle authored Nov 26, 2024
2 parents b35d77e + 0523e7f commit c3a1855
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployment/helm/ditto/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ description: |
A digital twin is a virtual, cloud based, representation of his real world counterpart
(real world “Things”, e.g. devices like sensors, smart heating, connected cars, smart grids, EV charging stations etc).
type: application
version: 3.6.3 # chart version is effectively set by release-job
version: 3.6.4 # chart version is effectively set by release-job
appVersion: 3.6.2
keywords:
- iot-chart
Expand Down
4 changes: 2 additions & 2 deletions deployment/helm/ditto/templates/thingssearch-pdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# http://www.eclipse.org/legal/epl-2.0
#
# SPDX-License-Identifier: EPL-2.0
{{- if and .Values.things.podDisruptionBudget.enabled (gt .Values.things.replicaCount 1.0) -}}
{{- if and .Values.thingsSearch.podDisruptionBudget.enabled (gt .Values.thingsSearch.replicaCount 1.0) -}}
---
apiVersion: policy/v1
kind: PodDisruptionBudget
Expand All @@ -22,5 +22,5 @@ spec:
matchLabels:
app.kubernetes.io/name: {{ include "ditto.name" . }}-thingssearch
app.kubernetes.io/instance: {{ .Release.Name }}
minAvailable: {{ .Values.things.podDisruptionBudget.minAvailable }}
minAvailable: {{ .Values.thingsSearch.podDisruptionBudget.minAvailable }}
{{- end }}

0 comments on commit c3a1855

Please sign in to comment.