You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [cherry-pick] dev-env to use external-secrets
* dev-env: to support user-auth
this requires a separate shared kratos to be spun up for dev
endpoints will change to the following format:
previously: <developer-namespace>.<domain>
auth endpoints: dev.<domain>
backend endpoints: <developer-namespace>.dev.<domain>
and cookies for auth would be set on dev.<domain> so can share session
Copy file name to clipboardExpand all lines: doc-site/docs/guides/dev-experience.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,5 +16,5 @@ Now your service will have access to any dependencies within a namespace running
16
16
17
17
1. Run `start-dev-env.sh` - You will be dropped into a shell that is the same as your local machine, but works as if it were running inside a pod in your k8s cluster
18
18
2. Change code and run the server - As you run your local server, using local code, it will have access to remote dependencies, and will be sent traffic by the load balancer
19
-
3. Test on your cloud environment with real dependencies - `https://<your name>-<DOMAIN>`
19
+
3. Test on your cloud environment with real dependencies - `https://<your name>.dev.<DOMAIN>`
20
20
4. git commit & auto-deploy to Staging through the build pipeline
## to support both frontend origin and 'localhost', need 'configuration-snippet' implementation here, because 'cors-allow-origin' field doesn't support multiple originss yet.
if ($http_origin ~* "^https?://((?:<% index .Params `stagingFrontendSubdomain` %><% index .Params `stagingHostRoot` %>)|(?:localhost))") {
26
+
if ($http_origin ~* "^https?://((?:<% index .Params `stagingFrontendSubdomain` %><% index .Params `stagingHostRoot` %>)|(?:localhost))|(?:127.0.0.1))") {
0 commit comments