Skip to content
Snippets Groups Projects
Commit 117f3707 authored by Martin Lowe's avatar Martin Lowe :flag_ca: Committed by Martin Lowe
Browse files

ConfigMap for adopters.json file + move adopter.json outside of jar


Signed-off-by: Martin Lowe's avatarMartin Lowe <martin.lowe@eclipse-foundation.org>
parent 9b633a2b
No related branches found
No related tags found
No related merge requests found
File moved
...@@ -41,6 +41,17 @@ spec: ...@@ -41,6 +41,17 @@ spec:
requests: requests:
cpu: 200m cpu: 200m
memory: 128Mi memory: 128Mi
volumeMounts:
- name: adopters
mountPath: "/config"
readOnly: true
volumes:
- name: adopters
configMap:
name: eclipsefdn-project-adopters-map
items:
- key: "adopters_json_compressed"
path: "adopters.json"
--- ---
apiVersion: "v1" apiVersion: "v1"
kind: "Service" kind: "Service"
......
...@@ -2,4 +2,7 @@ org.eclipsefoundation.adopters.api.ProjectsAPI/mp-rest/url=https://projects.ecli ...@@ -2,4 +2,7 @@ org.eclipsefoundation.adopters.api.ProjectsAPI/mp-rest/url=https://projects.ecli
## OAUTH CONFIG ## OAUTH CONFIG
quarkus.http.port=8080 quarkus.http.port=8080
quarkus.http.root-path=/adopters quarkus.http.root-path=/adopters
\ No newline at end of file
## Adopters raw location
eclipse.adopters.path.json=/config/adopters.json
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment