Skip to content

Commit

Permalink
Shorten base hostnames
Browse files Browse the repository at this point in the history
closes #47

Signed-off-by: Omar Kahil <[email protected]>
  • Loading branch information
kahilof authored and nimakaviani committed Oct 24, 2023
1 parent e4da9e7 commit 519f693
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ This can be useful in several ways:

Kubernetes: `kubectl get pods`

Argo: https://argocd.idpbuilder.cnoe.io.localtest.me:8443/
Argo: https://argocd.cnoe.localtest.me:8443/

Backstage: https://backstage.idpbuilder.cnoe.io.localtest.me:8443/
Backstage: https://backstage.cnoe.localtest.me:8443/

## Architecture

Expand Down
2 changes: 1 addition & 1 deletion pkg/apps/srv/argocd/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
spec:
ingressClassName: "nginx"
rules:
- host: argocd.idpbuilder.cnoe.io.localtest.me
- host: argocd.cnoe.localtest.me
http:
paths:
- path: /
Expand Down
8 changes: 4 additions & 4 deletions pkg/apps/srv/backstage/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ metadata:
spec:
ingressClassName: nginx
rules:
- host: backstage.idpbuilder.cnoe.io.localtest.me
- host: backstage.cnoe.localtest.me
http:
paths:
- backend:
Expand All @@ -152,17 +152,17 @@ data:
app-config.yaml: |
app:
title: CNOE
baseUrl: "https://backstage.idpbuilder.cnoe.io.localtest.me:8443"
baseUrl: "https://backstage.cnoe.localtest.me:8443"
organization:
name: CNOE
backend:
baseUrl: "https://backstage.idpbuilder.cnoe.io.localtest.me:8443"
baseUrl: "https://backstage.cnoe.localtest.me:8443"
listen:
port: 7007
csp:
connect-src: ["'self'", 'http:', 'https:']
cors:
origin: "https://backstage.idpbuilder.cnoe.io.localtest.me:8443"
origin: "https://backstage.cnoe.localtest.me:8443"
methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
credentials: true
database:
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/gitserver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
const (
gitServerResourceName string = "gitserver"
gitServerDeploymentContainerName string = "httpd"
gitServerIngressHostnameBase string = ".idpbuilder.cnoe.io.localtest.me"
gitServerIngressHostnameBase string = ".cnoe.localtest.me"
repoUrlFmt string = "http://%s.%s.svc/idpbuilder-resources.git"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/localbuild/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
EmbeddedGitServerName string = "embedded"
gitServerResourceName string = "gitserver"
gitServerDeploymentContainerName string = "httpd"
gitServerIngressHostnameBase string = ".idpbuilder.cnoe.io.localtest.me"
gitServerIngressHostnameBase string = ".cnoe.localtest.me"
repoUrlFmt string = "http://%s.%s.svc/idpbuilder-resources.git"
)

Expand Down

0 comments on commit 519f693

Please sign in to comment.