From 7b56e7a511165724acb053f2bc75161f7eff8c6d Mon Sep 17 00:00:00 2001 From: oap75 Date: Thu, 1 Feb 2024 11:52:01 +0200 Subject: [PATCH] fix: graphql port on service and test --- charts/rollups-node/templates/service.yaml | 2 +- charts/rollups-node/templates/tests/test-connection.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/rollups-node/templates/service.yaml b/charts/rollups-node/templates/service.yaml index d750f6d..e5da0e6 100644 --- a/charts/rollups-node/templates/service.yaml +++ b/charts/rollups-node/templates/service.yaml @@ -13,7 +13,7 @@ spec: type: {{ .Values.validator.service.type }} ports: - port: 4000 - targetPort: 4000 + targetPort: 10000 protocol: TCP name: graphql-server - port: 5005 diff --git a/charts/rollups-node/templates/tests/test-connection.yaml b/charts/rollups-node/templates/tests/test-connection.yaml index 1b46f9f..74cece2 100644 --- a/charts/rollups-node/templates/tests/test-connection.yaml +++ b/charts/rollups-node/templates/tests/test-connection.yaml @@ -10,5 +10,5 @@ spec: - name: http-check image: busybox command: ['wget'] - args: ['--spider', '--timeout=5', 'http://{{ include "validator.fullname" . }}-graphql-server:4000/graphql'] + args: ['--spider', '--timeout=5', 'http://{{ include "validator.fullname" . }}-validator:4000/graphql'] restartPolicy: Never \ No newline at end of file