-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ingress domain, so that I can then fix CORS issue with react fron…
…tend accessing API being hardcoded to localhost (#15) * Add ingress domain, so that I can then fix CORS issue with react frontend accessing API being hardcoded to localhost * Use ingressdomain
- Loading branch information
1 parent
45a054e
commit 8eca986
Showing
2 changed files
with
22 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
version: gc/alpha1 | ||
kind: IngressDomain | ||
spec: | ||
domain: petclinic-demogorgon.staging-service.nr-ops.net | ||
visibility: internal | ||
target_environment: staging | ||
routes: | ||
- priority: 100 | ||
config: | ||
matchOn: | ||
path: | ||
prefix: "/" | ||
options: | ||
timeout: 10s | ||
cors: | ||
enabled: true | ||
csrf: | ||
enabled: true | ||
auth: | ||
type: unauthenticated |