Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #25 from w3f/ip-filter
Browse files Browse the repository at this point in the history
Protect mongo-express UI behind VPN
  • Loading branch information
Philipp D authored Nov 26, 2021
2 parents fcbc48a + 778ac10 commit 31886dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helmfile.d/01-mongo-express.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ releases:
- name: registrar-mongo-express
namespace: registrar-v2
chart: w3f/mongo-express
version: v0.2.2
version: v0.3.0
values:
- ./config/mongo-express.yaml.gotmpl
3 changes: 3 additions & 0 deletions helmfile.d/config/mongo-express.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ domain: w3f.tech

mongodb:
host: "mongodb://{{ env "MONGO_USERNAME" | default "username" }}:{{ env "MONGO_PASSWORD" | default "password123" }}@mongodb-0.mongodb-headless:27017,mongodb-1.mongodb-headless:27017/{{ env "MONGO_DB" | default "registrar" }}?replicaSet=rs0"

ingress:
whitelist_source_ips: "34.65.4.191/32"

0 comments on commit 31886dc

Please sign in to comment.