diff --git a/charts/semantic-hub/Chart.yaml b/charts/semantic-hub/Chart.yaml index e8f7e21..a37c712 100644 --- a/charts/semantic-hub/Chart.yaml +++ b/charts/semantic-hub/Chart.yaml @@ -26,7 +26,7 @@ sources: - https://github.com/eclipse-tractusx/sldt-semantic-hub type: application -version: 0.2.1 +version: 0.2.2 appVersion: 0.3.1 dependencies: - repository: https://charts.bitnami.com/bitnami diff --git a/charts/semantic-hub/templates/hub/hub-deployment.yaml b/charts/semantic-hub/templates/hub/hub-deployment.yaml index c398207..b49f74e 100644 --- a/charts/semantic-hub/templates/hub/hub-deployment.yaml +++ b/charts/semantic-hub/templates/hub/hub-deployment.yaml @@ -72,16 +72,16 @@ spec: httpGet: path: /actuator/health/liveness port: {{ .Values.hub.containerPort }} - initialDelaySeconds: 100 - periodSeconds: 3 - failureThreshold: 3 + initialDelaySeconds: {{ .Values.hub.livenessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.hub.livenessProbe.periodSeconds }} + failureThreshold: {{ .Values.hub.livenessProbe.failureThreshold }} readinessProbe: httpGet: path: /actuator/health/readiness port: {{ .Values.hub.containerPort }} - initialDelaySeconds: 60 - periodSeconds: 3 - failureThreshold: 3 + initialDelaySeconds: {{ .Values.hub.readinessProbe.initialDelaySeconds }} + periodSeconds: {{ .Values.hub.readinessProbe.periodSeconds }} + failureThreshold: {{ .Values.hub.readinessProbe.failureThreshold }} resources: {{ .Values.hub.resources | toYaml | indent 12 }} imagePullSecrets: diff --git a/charts/semantic-hub/values.yaml b/charts/semantic-hub/values.yaml index 6b61d21..d2f62d4 100644 --- a/charts/semantic-hub/values.yaml +++ b/charts/semantic-hub/values.yaml @@ -49,6 +49,14 @@ hub: service: port: 8080 type: ClusterIP + livenessProbe: + failureThreshold: 3 + periodSeconds: 3 + initialDelaySeconds: 100 + readinessProbe: + failureThreshold: 3 + periodSeconds: 3 + initialDelaySeconds: 100 ingress: ## Enable ingress for the Semantic Hub enabled: false