Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite1182fb

Browse files
committed
2 parentsab3fcb6 +044e0fc commite1182fb

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

‎README.md‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,35 @@ No actions required - the new content will be automatically reflected in both Ar
5959

6060
##ArgoHub Collection Notes
6161

62+
###Switching Between GitOps (ArgoHub) and Enterprise Segments
63+
64+
By default, users are redirected from the Enterprise segment to the GitOps (ArgoHub) segment.
65+
66+
####Example:
67+
- Accessinghttps://codefresh.io/docs/ will redirect tohttps://codefresh.io/docs/gitops/
68+
69+
For more details, refer to the "Auto Redirect from Enterprise to ArgoHub Collection" section below.
70+
71+
####To switch segments in production:
72+
73+
- To switch to the GitOps segment, log in to Codefresh and switch to an account with the GitOps type. This will clear the Enterprise cookie.
74+
- To switch to the Enterprise segment, log in to Codefresh and switch to an account with any other type. This will set the Enterprise cookie.
75+
76+
77+
####To switch segments in local development:
78+
79+
In the local documentation site (`http://localhost:3131/`), open the console in developer tools and inject the appropriate cookie:
80+
81+
-**Switch to Enterprise Segment:**
82+
```js
83+
document.cookie='cfdoctype=enterprise; SameSite=Strict; Domain=localhost; Max-age=2592000; Path=/';
84+
```
85+
86+
-**Switch to GitOps Segment:**
87+
```js
88+
document.cookie='cfdoctype=enterprise; SameSite=Strict; Domain=localhost; Max-age=0; Path=/';
89+
```
90+
6291
###Reusing Existing Documents
6392

6493
####Create a Symlink between Enterprise and ArgoHub Collections

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp