From d8d5d036a9adacbbf9db58c11d269eaa08ac90f7 Mon Sep 17 00:00:00 2001 From: Guy Margalit Date: Wed, 2 Oct 2024 01:14:21 +0300 Subject: [PATCH] Fix #432: Change db service to headless as expected to get direct pod dns name on gke Signed-off-by: Guy Margalit --- deploy/internal/service-db.yaml | 2 +- pkg/bundle/deploy.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/internal/service-db.yaml b/deploy/internal/service-db.yaml index 0adfab2c5..08517e68d 100644 --- a/deploy/internal/service-db.yaml +++ b/deploy/internal/service-db.yaml @@ -8,7 +8,7 @@ metadata: service.beta.openshift.io/serving-cert-secret-name: "noobaa-db-serving-cert" service.alpha.openshift.io/serving-cert-secret-name: "noobaa-db-serving-cert" spec: - type: ClusterIP + clusterIP: None # headless service selector: noobaa-db: SYSNAME ports: diff --git a/pkg/bundle/deploy.go b/pkg/bundle/deploy.go index 7bd294ad7..dc6d1f7e0 100644 --- a/pkg/bundle/deploy.go +++ b/pkg/bundle/deploy.go @@ -4771,7 +4771,7 @@ type: Opaque data: {} ` -const Sha256_deploy_internal_service_db_yaml = "7bf9f8bd18c07c5d768392f2bdfcac7f3398c1137eecb0f48983f468234a5a96" +const Sha256_deploy_internal_service_db_yaml = "ad9f76ccec1a38c07af34d0251e9e3f3d64bfad48ebaebbdfeef653af1e6eafc" const File_deploy_internal_service_db_yaml = `apiVersion: v1 kind: Service @@ -4783,7 +4783,7 @@ metadata: service.beta.openshift.io/serving-cert-secret-name: "noobaa-db-serving-cert" service.alpha.openshift.io/serving-cert-secret-name: "noobaa-db-serving-cert" spec: - type: ClusterIP + clusterIP: None # headless service selector: noobaa-db: SYSNAME ports: