Skip to content

Commit

Permalink
Update internal config (#166)
Browse files Browse the repository at this point in the history
* remove kibana and locust from kong internal

* clean up network policies
  • Loading branch information
dzaslavskiy authored Jun 13, 2023
1 parent 457b0d5 commit 300a951
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 31 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy-internal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ jobs:

- name: Apply CF Network Policies
run: |
cf add-network-policy kong-internal keycloak --protocol tcp --port 61443 -s ${{ steps.cf-setup.outputs.target-environment }}
cf add-network-policy kong-internal kibana --protocol tcp --port 61443 -s ${{ steps.cf-setup.outputs.target-environment }}
cf add-network-policy kong-internal grafana --protocol tcp --port 61443 -s ${{ steps.cf-setup.outputs.target-environment }}-closed
cf add-network-policy kong-internal prometheus --protocol tcp --port 61443 -s ${{ steps.cf-setup.outputs.target-environment }}-closed
cf add-network-policy kong-internal alertmanager --protocol tcp --port 61443 -s ${{ steps.cf-setup.outputs.target-environment }}-public
29 changes: 0 additions & 29 deletions internal/kong-config.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
---
_format_version: "1.1"
services:
- name: kibana
url: https://identity-idva-monitoring-kibana-${ENVIRONMENT_NAME}.apps.internal:61443/kibana/
routes:
- 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/
Expand Down Expand Up @@ -64,20 +50,5 @@ services:
- http
strip_path: false

- name: locust
url: https://identity-idva-monitoring-locust-${ENVIRONMENT_NAME}.apps.internal:61443/
routes:
- name: locust-host-route
hosts:
- identity-idva-monitoring-locust-${ENVIRONMENT_NAME}.apps.internal
protocols:
- http

- name: locust-path-route
paths:
- /locust
protocols:
- http

plugins:
- name: prometheus

0 comments on commit 300a951

Please sign in to comment.