From 189bd73ac3761aef9c413948fe39d6821490ea90 Mon Sep 17 00:00:00 2001 From: Xin Li Date: Wed, 5 Jun 2024 14:43:37 -0500 Subject: [PATCH] change restjava Topics Metadata API path type to Exact Signed-off-by: Xin Li --- charts/hedera-mirror-rest-java/templates/ingress.yaml | 4 ++-- charts/hedera-mirror-rest-java/values.yaml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/hedera-mirror-rest-java/templates/ingress.yaml b/charts/hedera-mirror-rest-java/templates/ingress.yaml index ce3affdf5d8..21c05b2a624 100644 --- a/charts/hedera-mirror-rest-java/templates/ingress.yaml +++ b/charts/hedera-mirror-rest-java/templates/ingress.yaml @@ -21,8 +21,8 @@ spec: http: paths: {{- range .paths }} - - path: {{ . }} - pathType: ImplementationSpecific + - path: {{ .path }} + pathType: {{ .type | default "ImplementationSpecific" }} backend: service: name: {{ $fullName }} diff --git a/charts/hedera-mirror-rest-java/values.yaml b/charts/hedera-mirror-rest-java/values.yaml index c7fca4db3c7..168354ad961 100644 --- a/charts/hedera-mirror-rest-java/values.yaml +++ b/charts/hedera-mirror-rest-java/values.yaml @@ -79,8 +79,9 @@ ingress: - host: "" paths: # the rest of /api/v1/* is still handled by the Node.js based REST API logic, except for these paths - - "/api/v1/accounts/{id}/allowances/nfts" - - "/api/v1/topics/{id}" + - path: "/api/v1/accounts/{id}/allowances/nfts" + - path: "/api/v1/topics/{id}" + type: Exact tls: enabled: false secretName: ""