From 97e1ad5dbf994423cc5ba2787ab380c627e1257d Mon Sep 17 00:00:00 2001 From: harshsingh1002 <1002.harshsingh@gmail.com> Date: Tue, 22 Jul 2025 09:51:20 +0200 Subject: [PATCH 1/2] chore: upgrade preconf-rpc --- .../charts/mev-commit-preconf-rpc/templates/deployment.yaml | 5 +++++ .../charts/mev-commit-preconf-rpc/templates/secret.yaml | 0 infrastructure/charts/mev-commit-preconf-rpc/values.yaml | 5 ++--- 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 infrastructure/charts/mev-commit-preconf-rpc/templates/secret.yaml diff --git a/infrastructure/charts/mev-commit-preconf-rpc/templates/deployment.yaml b/infrastructure/charts/mev-commit-preconf-rpc/templates/deployment.yaml index 769c15b1f..bf3166900 100644 --- a/infrastructure/charts/mev-commit-preconf-rpc/templates/deployment.yaml +++ b/infrastructure/charts/mev-commit-preconf-rpc/templates/deployment.yaml @@ -67,6 +67,11 @@ spec: value: {{ .Values.postgresql.password | quote }} - name: PRECONF_RPC_PG_DBNAME value: {{ .Values.postgresql.database | quote }} + - name: PRECONF_RPC_BLOCKNATIVE_API_KEY + valueFrom: + secretKeyRef: + name: {{ include "preconf-rpc.fullname" . }}-blocknative-api-key + key: api-key securityContext: runAsUser: 0 runAsGroup: 0 diff --git a/infrastructure/charts/mev-commit-preconf-rpc/templates/secret.yaml b/infrastructure/charts/mev-commit-preconf-rpc/templates/secret.yaml new file mode 100644 index 000000000..e69de29bb diff --git a/infrastructure/charts/mev-commit-preconf-rpc/values.yaml b/infrastructure/charts/mev-commit-preconf-rpc/values.yaml index 1a87ff2a4..8c8bc8f1f 100644 --- a/infrastructure/charts/mev-commit-preconf-rpc/values.yaml +++ b/infrastructure/charts/mev-commit-preconf-rpc/values.yaml @@ -100,6 +100,5 @@ postgresql: database: "" password: "" -service: - type: ClusterIP - port: 8080 +blocknative: + apiKey: "" From ab4ce9b59b76a46983361241b44a1be89c408dab Mon Sep 17 00:00:00 2001 From: harshsingh1002 <1002.harshsingh@gmail.com> Date: Tue, 22 Jul 2025 09:52:00 +0200 Subject: [PATCH 2/2] chore: upgrade preconf-rpc --- .../charts/mev-commit-preconf-rpc/templates/secret.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/infrastructure/charts/mev-commit-preconf-rpc/templates/secret.yaml b/infrastructure/charts/mev-commit-preconf-rpc/templates/secret.yaml index e69de29bb..7063fea87 100644 --- a/infrastructure/charts/mev-commit-preconf-rpc/templates/secret.yaml +++ b/infrastructure/charts/mev-commit-preconf-rpc/templates/secret.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +kind: Secret +metadata: + name: {{ include "preconf-rpc.fullname" . }}-blocknative-api-key + labels: + {{- include "preconf-rpc.labels" . | nindent 4 }} +type: Opaque +data: + api-key: {{ .Values.blocknative.apiKey | b64enc | quote }}