From eec3b26eaeefaa9f98db8c5b0168a1f9ec2036e3 Mon Sep 17 00:00:00 2001
From: OZGCloud <ozgcloud@mgm-tp.com>
Date: Mon, 9 Sep 2024 14:23:40 +0200
Subject: [PATCH] OZG-6665 Change port of probes to management port

---
 src/main/helm/templates/deployment.yaml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/main/helm/templates/deployment.yaml b/src/main/helm/templates/deployment.yaml
index 2bebcaeb..87244a81 100644
--- a/src/main/helm/templates/deployment.yaml
+++ b/src/main/helm/templates/deployment.yaml
@@ -137,11 +137,14 @@ spec:
           - containerPort: 8080
             name: http
             protocol: TCP
+          - containerPort: 9002
+            name: management
+            protocol: TCP
         readinessProbe:
           failureThreshold: 3
           httpGet:
             path: /q/health/ready
-            port: 8080
+            port: management
             scheme: HTTP
           periodSeconds: 10
           successThreshold: 1
@@ -150,7 +153,7 @@ spec:
           failureThreshold: 10
           httpGet:
             path: /q/health/started
-            port: 8080
+            port: management
             scheme: HTTP
           initialDelaySeconds: 30
           periodSeconds: 10
@@ -161,7 +164,7 @@ spec:
           failureThreshold: 10
           httpGet:
             path: /q/health/started
-            port: 8080
+            port: management
             scheme: HTTP
           initialDelaySeconds: 15
           periodSeconds: 5
-- 
GitLab