-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: monitoring only on primary route (#118)
- Loading branch information
1 parent
bcac570
commit 3f9bbad
Showing
11 changed files
with
160 additions
and
18 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
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
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
49 changes: 49 additions & 0 deletions
49
test-resources/template-ingress/test18-results/example.com.yaml
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,49 @@ | ||
--- | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
annotations: | ||
fastly.amazee.io/watch: "false" | ||
ingress.kubernetes.io/ssl-redirect: "true" | ||
kubernetes.io/tls-acme: "true" | ||
lagoon.sh/branch: main | ||
lagoon.sh/version: v2.7.x | ||
monitor.stakater.com/enabled: "true" | ||
monitor.stakater.com/overridePath: / | ||
nginx.ingress.kubernetes.io/ssl-redirect: "true" | ||
uptimerobot.monitor.stakater.com/alert-contacts: alertcontact | ||
uptimerobot.monitor.stakater.com/interval: "60" | ||
uptimerobot.monitor.stakater.com/status-pages: statuspageid | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/instance: example.com | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: custom-ingress | ||
dioscuri.amazee.io/migrate: "false" | ||
helm.sh/chart: custom-ingress-0.1.0 | ||
lagoon.sh/autogenerated: "false" | ||
lagoon.sh/buildType: branch | ||
lagoon.sh/environment: main | ||
lagoon.sh/environmentType: production | ||
lagoon.sh/project: example-project | ||
lagoon.sh/service: example.com | ||
lagoon.sh/service-type: custom-ingress | ||
name: example.com | ||
spec: | ||
rules: | ||
- host: example.com | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: node | ||
port: | ||
name: http | ||
path: / | ||
pathType: Prefix | ||
tls: | ||
- hosts: | ||
- example.com | ||
secretName: example.com-tls | ||
status: | ||
loadBalancer: {} |
46 changes: 46 additions & 0 deletions
46
test-resources/template-ingress/test18-results/www.example.com.yaml
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,46 @@ | ||
--- | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
annotations: | ||
fastly.amazee.io/watch: "false" | ||
ingress.kubernetes.io/ssl-redirect: "true" | ||
kubernetes.io/tls-acme: "true" | ||
lagoon.sh/branch: main | ||
lagoon.sh/version: v2.7.x | ||
monitor.stakater.com/enabled: "false" | ||
monitor.stakater.com/overridePath: / | ||
nginx.ingress.kubernetes.io/ssl-redirect: "true" | ||
creationTimestamp: null | ||
labels: | ||
app.kubernetes.io/instance: www.example.com | ||
app.kubernetes.io/managed-by: Helm | ||
app.kubernetes.io/name: custom-ingress | ||
dioscuri.amazee.io/migrate: "false" | ||
helm.sh/chart: custom-ingress-0.1.0 | ||
lagoon.sh/autogenerated: "false" | ||
lagoon.sh/buildType: branch | ||
lagoon.sh/environment: main | ||
lagoon.sh/environmentType: production | ||
lagoon.sh/project: example-project | ||
lagoon.sh/service: www.example.com | ||
lagoon.sh/service-type: custom-ingress | ||
name: www.example.com | ||
spec: | ||
rules: | ||
- host: www.example.com | ||
http: | ||
paths: | ||
- backend: | ||
service: | ||
name: node | ||
port: | ||
name: http | ||
path: / | ||
pathType: Prefix | ||
tls: | ||
- hosts: | ||
- www.example.com | ||
secretName: www.example.com-tls | ||
status: | ||
loadBalancer: {} |
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,20 @@ | ||
version: '2' | ||
services: | ||
node: | ||
networks: | ||
- amazeeio-network | ||
- default | ||
build: | ||
context: . | ||
dockerfile: node.dockerfile | ||
labels: | ||
lagoon.type: node | ||
volumes: | ||
- .:/app:delegated | ||
environment: | ||
- LAGOON_LOCALDEV_HTTP_PORT=3000 | ||
- LAGOON_ROUTE=http://node.docker.amazee.io | ||
|
||
networks: | ||
amazeeio-network: | ||
external: true |
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,11 @@ | ||
docker-compose-yaml: ../test-resources/template-ingress/test18/docker-compose.yml | ||
|
||
environment_variables: | ||
git_sha: "true" | ||
|
||
environments: | ||
main: | ||
routes: | ||
- node: | ||
- example.com | ||
- www.example.com |
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
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