Skip to content

Commit

Permalink
Merge pull request #281 from desci-labs/m0ar/hotfix-proxy-vault-injec…
Browse files Browse the repository at this point in the history
…tion

reverse-proxy: hotfix vault path for secrets
  • Loading branch information
m0ar authored Apr 17, 2024
2 parents fc92e59 + 4628cc1 commit fce4687
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion reverse-proxy/kubernetes/deployment_dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion reverse-proxy/kubernetes/deployment_prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion reverse-proxy/kubernetes/deployment_staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit fce4687

Please sign in to comment.