-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: added ingress ressources * fix: namespace set
- Loading branch information
1 parent
8092653
commit b1e3869
Showing
6 changed files
with
70 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: traefik.containo.us/v1alpha1 | ||
kind: IngressRoute | ||
metadata: | ||
name: kibana-ingress | ||
namespace: observability | ||
spec: | ||
entryPoints: | ||
- web | ||
routes: | ||
- match: Host(`kibana.<ENV-NAME>-<ENV-USER-ID>-01.<ENV-ANIMAL>.<ENV-DOMAIN>`) && PathPrefix(`/`) | ||
kind: Rule | ||
services: | ||
- name: kibana-kibana | ||
port: 5601 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: traefik.containo.us/v1alpha1 | ||
kind: IngressRoute | ||
metadata: | ||
name: jaeger-ingress | ||
spec: | ||
entryPoints: | ||
- web | ||
routes: | ||
- match: Host(`jaeger.<ENV-NAME>-<ENV-USER-ID>-01.<ENV-ANIMAL>.<ENV-DOMAIN>`) && PathPrefix(`/`) | ||
kind: Rule | ||
services: | ||
- name: simplest-query | ||
port: 16686 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
# apiVersion: traefik.containo.us/v1alpha1 | ||
# kind: IngressRoute | ||
# metadata: | ||
# name: controller-ingress | ||
# namespace: 12-factor-app | ||
# spec: | ||
# entryPoints: | ||
# - web | ||
# routes: | ||
# - match: Host(`controller.<ENV-NAME>-<ENV-USER-ID>-01.<ENV-ANIMAL>.<ENV-DOMAIN>`) && PathPrefix(`/`) | ||
# kind: Rule | ||
# services: | ||
# - name: controller | ||
# port: 80 | ||
apiVersion: traefik.containo.us/v1alpha1 | ||
kind: IngressRoute | ||
metadata: | ||
name: controller-ingress | ||
# namespace: 12-factor-app | ||
spec: | ||
entryPoints: | ||
- web | ||
routes: | ||
- match: Host(`controller.<ENV-NAME>-<ENV-USER-ID>-01.<ENV-ANIMAL>.<ENV-DOMAIN>`) && PathPrefix(`/`) | ||
kind: Rule | ||
services: | ||
- name: controller | ||
port: 3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: traefik.containo.us/v1alpha1 | ||
kind: IngressRoute | ||
metadata: | ||
name: prometheus-ingress | ||
spec: | ||
entryPoints: | ||
- web | ||
routes: | ||
- match: Host(`prom.<ENV-NAME>-<ENV-USER-ID>-01.<ENV-ANIMAL>.<ENV-DOMAIN>`) && PathPrefix(`/`) | ||
kind: Rule | ||
services: | ||
- name: prometheus-kube-prometheus-prometheus | ||
port: 9090 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/sh | ||
|
||
# Replace 01 | ||
find * -type f -exec sed -i -e "s/<ENV-USER-ID>/$USER_ID/g" {} \; | ||
|
||
# Replace owl | ||
find * -type f -exec sed -i -e "s/<ENV-ANIMAL>/$ANIMAL/g" {} \; | ||
|
||
# Replace cno | ||
find * -type f -exec sed -i -e "s/<ENV-NAME>/$ENVIRONMENT/g" {} \; | ||
|
||
# Replace co-pla.training | ||
find * -type f -exec sed -i -e "s/<ENV-DOMAIN>/$DOMAIN/g" {} \; |