Skip to content

Commit

Permalink
chore(openchallenges): remove Vault from the OC stack (#2683)
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter authored May 16, 2024
1 parent beafbb2 commit 8a48c0f
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 102 deletions.
4 changes: 0 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,6 @@
"label": "openchallenges-core-service",
"onAutoForward": "silent"
},
"8200": {
"label": "openchallenges-vault",
"onAutoForward": "silent"
},
"8787": {
"label": "openchallenges-rstudio",
"onAutoForward": "silent"
Expand Down
6 changes: 0 additions & 6 deletions apps/openchallenges/config-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ The config of the config server lives in two files:
This config server pulls the configuration of the OpenChallenges distributed system from two storage
backends. By order of priority:

- Vault
- Git repository

## Git Storage Backend
Expand Down Expand Up @@ -45,11 +44,6 @@ After creating `.env` from `.env.example`, the variables shown below must be set
- `GIT_PRIVATE_KEY`: The private SSH key previously generated. The key must be folded in one line by
replacing line breaks by `\n`.


## Vault Storage Backend

TBA

## Test: Fetch the config of a component

Build and start the config server (development server):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@ spring:
cloud:
config:
server:
vault:
host: openchallenges-vault
port: 8200
scheme: http
order: 1
kv-version: 2
authentication: TOKEN
token: changeme
git:
uri: ${GIT_URI}
ignoreLocalSshSettings: true
Expand Down
1 change: 0 additions & 1 deletion apps/openchallenges/infra/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ $ OPENCHALLENGES_VERSION=edge ./docker/openchallenges/serve-detach.sh openchalle
✔ Container openchallenges-zipkin Healthy 67.0s
✔ Container openchallenges-elasticsearch-node-3 Healthy 0.5s
✔ Container openchallenges-mariadb Healthy 1.5s
✔ Container openchallenges-vault Healthy 0.5s
✔ Container openchallenges-config-server Healthy 1.5s
✔ Container openchallenges-service-registry Healthy 1.5s
✔ Container openchallenges-thumbor Healthy 1.5s
Expand Down
2 changes: 0 additions & 2 deletions apps/openchallenges/vault/.env.example

This file was deleted.

6 changes: 0 additions & 6 deletions apps/openchallenges/vault/Dockerfile

This file was deleted.

53 changes: 0 additions & 53 deletions apps/openchallenges/vault/project.json

This file was deleted.

1 change: 0 additions & 1 deletion docker/openchallenges/serve-detach.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ args=(
--file docker/openchallenges/services/rstudio.yml
--file docker/openchallenges/services/service-registry.yml
--file docker/openchallenges/services/thumbor.yml
--file docker/openchallenges/services/vault.yml
--file docker/openchallenges/services/zipkin.yml

--file docker/openchallenges/networks.yml
Expand Down
3 changes: 0 additions & 3 deletions docker/openchallenges/services/config-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@ services:
resources:
limits:
memory: 1G
depends_on:
openchallenges-vault:
condition: service_healthy
17 changes: 0 additions & 17 deletions docker/openchallenges/services/vault.yml

This file was deleted.

1 change: 0 additions & 1 deletion tools/configure-hostnames.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ declare -a hostnames=(
"127.0.0.1 openchallenges-service-registry"
"127.0.0.1 openchallenges-thumbor"
"127.0.0.1 openchallenges-user-service"
"127.0.0.1 openchallenges-vault"
"127.0.0.1 openchallenges-zipkin"
"127.0.0.1 schematic-api"
)
Expand Down

0 comments on commit 8a48c0f

Please sign in to comment.