Skip to content

Commit

Permalink
Switch to using routes internally. (#147)
Browse files Browse the repository at this point in the history
* Switch to using routes internally.

* add path and host routes to allow gradual migration
  • Loading branch information
dzaslavskiy authored Jun 15, 2022
1 parent 5f7c281 commit c52fc17
Showing 1 changed file with 36 additions and 6 deletions.
42 changes: 36 additions & 6 deletions internal/kong-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,77 @@ services:
- name: kibana
url: https://identity-idva-monitoring-kibana-${ENVIRONMENT_NAME}.apps.internal:61443
routes:
- name: kibana-route
- name: kibana-host-route
hosts:
- identity-idva-monitoring-kibana-${ENVIRONMENT_NAME}.apps.internal
protocols:
- http
- name: kibana-path-route
paths:
- /kibana
protocols:
- http
- name: grafana
url: https://identity-idva-monitoring-grafana-${ENVIRONMENT_NAME}.apps.internal:61443
routes:
- name: grafana-route
- name: grafana-host-route
hosts:
- identity-idva-monitoring-grafana-${ENVIRONMENT_NAME}.apps.internal
protocols:
- http
- name: grafana-path-route
paths:
- /grafana
protocols:
- http
- name: prometheus
url: https://identity-idva-monitoring-prometheus-${ENVIRONMENT_NAME}.apps.internal:61443
routes:
- name: prometheus-route
- name: prometheus-host-route
hosts:
- identity-idva-monitoring-prometheus-${ENVIRONMENT_NAME}.apps.internal
protocols:
- http
- name: prometheus-path-route
paths:
- /prometheus
protocols:
- http
- name: alertmanager
url: https://identity-idva-monitoring-alertmanager-${ENVIRONMENT_NAME}.apps.internal:61443
routes:
- name: alertmanager-route
- name: alertmanager-host-route
hosts:
- identity-idva-monitoring-alertmanager-${ENVIRONMENT_NAME}.apps.internal
protocols:
- http
- name: alertmanager-path-route
paths:
- /alertmanager
protocols:
- http
- name: locust
url: https://identity-idva-monitoring-locust-${ENVIRONMENT_NAME}.apps.internal:61443
routes:
- name: locust-route
- name: locust-host-route
hosts:
- identity-idva-monitoring-locust-${ENVIRONMENT_NAME}.apps.internal
protocols:
- http
- name: locust-path-route
paths:
- /locust
protocols:
- http
- name: keycloak-internal
url: https://identity-idva-keycloak-${ENVIRONMENT_NAME}.apps.internal:61443
routes:
- name: keycloak-route
- name: keycloak-host-route
hosts:
- identity-idva-keycloak-${ENVIRONMENT_NAME}.apps.internal
protocols:
- http
- name: keycloak-path-route
paths:
- /keycloak
protocols:
Expand Down

0 comments on commit c52fc17

Please sign in to comment.