From e8285691608d8528551c2da54f52061222f8336c Mon Sep 17 00:00:00 2001 From: Mateus Castello <madcastello@rd.com.br> Date: Wed, 16 Aug 2023 11:08:00 -0300 Subject: [PATCH] Change the default service type to ClusterIP --- charts/datahub/subcharts/datahub-frontend/values.yaml | 4 ++-- charts/datahub/subcharts/datahub-gms/values.yaml | 2 +- charts/datahub/values.yaml | 8 ++++++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/charts/datahub/subcharts/datahub-frontend/values.yaml b/charts/datahub/subcharts/datahub-frontend/values.yaml index 2f4291106..4942c60c6 100644 --- a/charts/datahub/subcharts/datahub-frontend/values.yaml +++ b/charts/datahub/subcharts/datahub-frontend/values.yaml @@ -39,8 +39,8 @@ securityContext: {} # runAsUser: 1000 service: - type: LoadBalancer # ClusterIP or NodePort - port: 9002 + type: ClusterIP # NodePort or LoadBalancer + port: "9002" targetPort: http protocol: TCP name: http diff --git a/charts/datahub/subcharts/datahub-gms/values.yaml b/charts/datahub/subcharts/datahub-gms/values.yaml index f331afd82..020f69262 100644 --- a/charts/datahub/subcharts/datahub-gms/values.yaml +++ b/charts/datahub/subcharts/datahub-gms/values.yaml @@ -43,7 +43,7 @@ securityContext: {} # runAsUser: 1000 service: - type: LoadBalancer # ClusterIP or NodePort + type: ClusterIP # NodePort or LoadBalancer port: "8080" targetPort: http protocol: TCP diff --git a/charts/datahub/values.yaml b/charts/datahub/values.yaml index 0c840997a..8de1a111a 100644 --- a/charts/datahub/values.yaml +++ b/charts/datahub/values.yaml @@ -11,6 +11,10 @@ datahub-gms: requests: cpu: 100m memory: 1Gi + # Service for datahub-gms + service: + type: ClusterIP # NodePort or LoadBalancer + port: 8080 # Optionally set a GMS specific SQL login (defaults to global login) # sql: # datasource: @@ -30,6 +34,10 @@ datahub-frontend: requests: cpu: 100m memory: 512Mi + # Service for the react front-end + service: + type: ClusterIP # NodePort or LoadBalancer + port: 9002 # Set up ingress to expose react front-end ingress: enabled: false