From 60bdfbf5186c7c10600c8d6221393c605b7d4f25 Mon Sep 17 00:00:00 2001 From: Nick Zenchik Date: Fri, 15 Mar 2024 19:49:26 +0400 Subject: [PATCH] [blockscout-admin] Adding references to metadata service to admin-rs deployment --- charts/blockscout-admin/Chart.yaml | 2 +- charts/blockscout-admin/templates/admin-rs-deployment.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/blockscout-admin/Chart.yaml b/charts/blockscout-admin/Chart.yaml index cc02bf1..ba89f54 100644 --- a/charts/blockscout-admin/Chart.yaml +++ b/charts/blockscout-admin/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.1.0 +version: 1.1.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/blockscout-admin/templates/admin-rs-deployment.yaml b/charts/blockscout-admin/templates/admin-rs-deployment.yaml index 0226598..bb6321a 100644 --- a/charts/blockscout-admin/templates/admin-rs-deployment.yaml +++ b/charts/blockscout-admin/templates/admin-rs-deployment.yaml @@ -39,6 +39,10 @@ spec: value: http://contracts-info-{{ include "blockscout-admin.fullname" . }}:{{ .Values.contractsInfo.service.port }} - name: ADMIN_RS__CHAINS_CONFIG_PATH value: /app/config/networks.json + - name: ADMIN_RS__METADATA_ADDR + {{- with (index .Values.metadata.ingress.hosts 0) }} + value: https://{{ .host }} + {{- end }} {{- range .Values.adminRs.environment }} - name: {{ .name }} value: {{ .value | quote }}