Skip to content

Commit

Permalink
feat(k8s): add subdomain prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil committed Jul 29, 2020
1 parent f9ea78f commit 88046e2
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
Expand Up @@ -159,7 +159,7 @@ metadata:
namespace: sample-next-app-24-e2e-branch-42
spec:
rules:
- host: hasura-sample-next-app.dev.fabrique.social.gouv.fr
- host: hasura-e2e-branch-42-sample-next-app.dev.fabrique.social.gouv.fr
http:
paths:
- backend:
Expand All @@ -168,7 +168,7 @@ spec:
path: /
tls:
- hosts:
- hasura-sample-next-app.dev.fabrique.social.gouv.fr
- hasura-e2e-branch-42-sample-next-app.dev.fabrique.social.gouv.fr
secretName: wildcard-crt
apiVersion: extensions/v1beta1
kind: Ingress
Expand Down
Expand Up @@ -16,7 +16,7 @@ metadata:
owner: sample-next-app
team: sample-next-app
cert: wildcard
name: sample-next-app-24-e2e-branch-42
name: sample-next-app-24-preprod-dev2
apiVersion: v1
kind: Namespace
---
Expand All @@ -27,12 +27,12 @@ metadata:
app.gitlab.com/env.name: e2e-branch-dev2
labels:
app: hasura
application: v1-2-3-sample-next-app
application: preprod-sample-next-app
owner: sample-next-app
team: sample-next-app
cert: wildcard
name: hasura
namespace: sample-next-app-24-e2e-branch-42
namespace: sample-next-app-24-preprod-dev2
spec:
replicas: 1
selector:
Expand All @@ -46,7 +46,7 @@ spec:
app.gitlab.com/env.name: e2e-branch-dev2
labels:
app: hasura
application: v1-2-3-sample-next-app
application: preprod-sample-next-app
owner: sample-next-app
team: sample-next-app
cert: wildcard
Expand Down Expand Up @@ -123,7 +123,7 @@ kind: Deployment
metadata:
labels:
app: hasura
application: v1-2-3-sample-next-app
application: preprod-sample-next-app
owner: sample-next-app
team: sample-next-app
cert: wildcard
Expand All @@ -132,7 +132,7 @@ metadata:
app.gitlab.com/app: socialgouv-sample-next-app
app.gitlab.com/env: e2e-branch-42
app.gitlab.com/env.name: e2e-branch-dev2
namespace: sample-next-app-24-e2e-branch-42
namespace: sample-next-app-24-preprod-dev2
spec:
ports:
- port: 80
Expand All @@ -151,15 +151,15 @@ metadata:
app.gitlab.com/env.name: e2e-branch-dev2
labels:
app: hasura
application: v1-2-3-sample-next-app
application: preprod-sample-next-app
owner: sample-next-app
team: sample-next-app
cert: wildcard
name: hasura
namespace: sample-next-app-24-e2e-branch-42
namespace: sample-next-app-24-preprod-dev2
spec:
rules:
- host: hasura-sample-next-app.dev.fabrique.social.gouv.fr
- host: hasura-preprod-sample-next-app.dev.fabrique.social.gouv.fr
http:
paths:
- backend:
Expand All @@ -168,7 +168,7 @@ spec:
path: /
tls:
- hosts:
- hasura-sample-next-app.dev.fabrique.social.gouv.fr
- hasura-preprod-sample-next-app.dev.fabrique.social.gouv.fr
secretName: wildcard-crt
apiVersion: extensions/v1beta1
kind: Ingress
Expand All @@ -186,7 +186,7 @@ metadata:
cert: wildcard
component: next
name: www
namespace: sample-next-app-24-e2e-branch-42
namespace: sample-next-app-24-preprod-dev2
spec:
replicas: 1
selector:
Expand Down Expand Up @@ -258,7 +258,7 @@ metadata:
app.gitlab.com/app: socialgouv-sample-next-app
app.gitlab.com/env: e2e-branch-42
app.gitlab.com/env.name: e2e-branch-dev2
namespace: sample-next-app-24-e2e-branch-42
namespace: sample-next-app-24-preprod-dev2
spec:
ports:
- port: 80
Expand All @@ -282,7 +282,7 @@ metadata:
team: sample-next-app
cert: wildcard
name: www
namespace: sample-next-app-24-e2e-branch-42
namespace: sample-next-app-24-preprod-dev2
spec:
rules:
- host: preprod-sample-next-app.dev.fabrique.social.gouv.fr
Expand Down
Expand Up @@ -141,7 +141,7 @@ metadata:
namespace: sample-next-app
spec:
rules:
- host: hasura-sample-next-app.dev.fabrique.social.gouv.fr
- host: hasura.sample-next-app.dev.fabrique.social.gouv.fr
http:
paths:
- backend:
Expand All @@ -150,7 +150,7 @@ spec:
path: /
tls:
- hosts:
- hasura-sample-next-app.dev.fabrique.social.gouv.fr
- hasura.sample-next-app.dev.fabrique.social.gouv.fr
secretName: hasura-crt
apiVersion: extensions/v1beta1
kind: Ingress
Expand Down

0 comments on commit 88046e2

Please sign in to comment.