Skip to content

Commit ec1bf67

Browse files
Merge pull request #11 from containerum/develop
Develop
2 parents 83bbb2a + 84fba09 commit ec1bf67

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
[routes.import_all_events]
2+
active = true
3+
name = "Get all events for all resources"
4+
method = "GET"
5+
roles = ["*"]
6+
upstream = "http://events-api:1667"
7+
listen = "/events/all"
8+
strip = false
9+
group = "events-api"
10+
ws = true
11+
12+
[routes.import_selected_events]
13+
active = true
14+
name = "Get selected events for all resources"
15+
method = "GET"
16+
roles = ["*"]
17+
upstream = "http://events-api:1667"
18+
listen = "/events/selected"
19+
strip = false
20+
group = "events-api"
21+
ws = true
22+
23+
[routes.import_all_namespace_events]
24+
active = true
25+
name = "Get all events for namespace"
26+
method = "GET"
27+
roles = ["*"]
28+
upstream = "http://events-api:1667"
29+
listen = "/events/namespaces/:namespace/all"
30+
strip = false
31+
group = "events-api"
32+
ws = true
33+
34+
[routes.import_selected_namespace_events]
35+
active = true
36+
name = "Get selected events for namespace"
37+
method = "GET"
38+
roles = ["*"]
39+
upstream = "http://events-api:1667"
40+
listen = "/events/namespaces/:namespace/selected"
41+
strip = false
42+
group = "events-api"
43+
ws = true

charts/api-gateway/env/routes/routes.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@
2222

2323
#include "routes/kube-importer.toml"
2424

25+
#include "routes/events-api.toml"
26+

charts/api-gateway/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ routes:
3636
path: env/routes/nodemetrics.toml
3737
- name: kube-importer.toml
3838
path: env/routes/kube-importer.toml
39+
- name: events-api.toml
40+
path: env/routes/events-api.toml
3941

4042
config: env/config.toml
4143

0 commit comments

Comments
 (0)