From 4628cc10b813e676b090b04a8f4748407e9403fe Mon Sep 17 00:00:00 2001 From: m0ar Date: Wed, 17 Apr 2024 16:12:48 +0200 Subject: [PATCH] reverse-proxy: hotfix vault path for secrets --- reverse-proxy/kubernetes/deployment_dev.yaml | 2 +- reverse-proxy/kubernetes/deployment_prod.yaml | 2 +- reverse-proxy/kubernetes/deployment_staging.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reverse-proxy/kubernetes/deployment_dev.yaml b/reverse-proxy/kubernetes/deployment_dev.yaml index bd1d5e25..cb2a9756 100755 --- a/reverse-proxy/kubernetes/deployment_dev.yaml +++ b/reverse-proxy/kubernetes/deployment_dev.yaml @@ -58,7 +58,7 @@ spec: vault.hashicorp.com/role: app-vault-reader vault.hashicorp.com/agent-inject-secret-config: secrets/desci-server/dev/db vault.hashicorp.com/agent-inject-template-config: | - {{- with secret "secrets/desci-server/dev/" -}} + {{- with secret "secrets/desci-server/dev/db" -}} echo "sourcing"; export PROXY_MAPPING_RPC_SEPOLIA={{ .Data.PROXY_MAPPING_RPC_SEPOLIA }} export PROXY_MAPPING_RPC_MAINNET={{ .Data.PROXY_MAPPING_RPC_MAINNET }} diff --git a/reverse-proxy/kubernetes/deployment_prod.yaml b/reverse-proxy/kubernetes/deployment_prod.yaml index 72263fba..aff59713 100755 --- a/reverse-proxy/kubernetes/deployment_prod.yaml +++ b/reverse-proxy/kubernetes/deployment_prod.yaml @@ -58,7 +58,7 @@ spec: vault.hashicorp.com/role: app-vault-reader vault.hashicorp.com/agent-inject-secret-config: secrets/desci-server/production/db vault.hashicorp.com/agent-inject-template-config: | - {{- with secret "secrets/desci-server/production/" -}} + {{- with secret "secrets/desci-server/production/db" -}} echo "sourcing"; export PROXY_MAPPING_RPC_SEPOLIA={{ .Data.PROXY_MAPPING_RPC_SEPOLIA }} export PROXY_MAPPING_RPC_MAINNET={{ .Data.PROXY_MAPPING_RPC_MAINNET }} diff --git a/reverse-proxy/kubernetes/deployment_staging.yaml b/reverse-proxy/kubernetes/deployment_staging.yaml index d7b3f906..0a470a8f 100755 --- a/reverse-proxy/kubernetes/deployment_staging.yaml +++ b/reverse-proxy/kubernetes/deployment_staging.yaml @@ -58,7 +58,7 @@ spec: vault.hashicorp.com/role: app-vault-reader vault.hashicorp.com/agent-inject-secret-config: secrets/desci-server/staging/db vault.hashicorp.com/agent-inject-template-config: | - {{- with secret "secrets/desci-server/staging/" -}} + {{- with secret "secrets/desci-server/staging/db" -}} echo "sourcing"; export PROXY_MAPPING_RPC_SEPOLIA={{ .Data.PROXY_MAPPING_RPC_SEPOLIA }} export PROXY_MAPPING_RPC_MAINNET={{ .Data.PROXY_MAPPING_RPC_MAINNET }}