From 0523e7f5b05d673d99b15951105ec952e56e2f5d Mon Sep 17 00:00:00 2001 From: Vasil Vasilev Date: Tue, 26 Nov 2024 15:13:19 +0200 Subject: [PATCH] use correct pdb value for thingssearch --- deployment/helm/ditto/Chart.yaml | 2 +- deployment/helm/ditto/templates/thingssearch-pdb.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment/helm/ditto/Chart.yaml b/deployment/helm/ditto/Chart.yaml index 7138954a39..abde688013 100644 --- a/deployment/helm/ditto/Chart.yaml +++ b/deployment/helm/ditto/Chart.yaml @@ -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 diff --git a/deployment/helm/ditto/templates/thingssearch-pdb.yaml b/deployment/helm/ditto/templates/thingssearch-pdb.yaml index c7651415a0..db6b05247e 100644 --- a/deployment/helm/ditto/templates/thingssearch-pdb.yaml +++ b/deployment/helm/ditto/templates/thingssearch-pdb.yaml @@ -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 @@ -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 }}