From 06897ab2ba8b44ee158b16f8c283a08d48ef5a42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krystian=20D=C4=85browski?= Date: Wed, 28 Aug 2024 14:23:19 +0200 Subject: [PATCH] ACS-8607: Create Helm chart for live-ingester - adding way to specify custom app port --- charts/alfresco-connector-hxi/values.yaml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/charts/alfresco-connector-hxi/values.yaml b/charts/alfresco-connector-hxi/values.yaml index f48d673e..6a785927 100644 --- a/charts/alfresco-connector-hxi/values.yaml +++ b/charts/alfresco-connector-hxi/values.yaml @@ -11,7 +11,7 @@ liveIngester: repository: quay.io/alfresco/alfresco-hxinsight-connector-live-ingester tag: 1.0.0-A11 pullPolicy: IfNotPresent - internalPort: 8080 + internalPort: &appPort 80 replicaCount: 1 strategy: rollingUpdate: @@ -24,21 +24,22 @@ liveIngester: limits: cpu: "2" memory: "2048Mi" + environment: + SERVER_PORT: *appPort livenessProbe: initialDelaySeconds: 30 httpGet: path: /actuator/health/liveness - port: 8080 + port: *appPort readinessProbe: initialDelaySeconds: 40 httpGet: path: /actuator/health/liveness - port: 8080 - environment: null + port: *appPort service: name: hxi-live-ingester-service type: ClusterIP - externalPort: 8080 + externalPort: 80 affinity: podAntiAffinity: preferredDuringSchedulingIgnoredDuringExecution: