Skip to content

Commit 9dfaa99

Browse files
authored
Fix broken link (#633)
1 parent 7e64934 commit 9dfaa99

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

content/deployment/configuration/code-viewer.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,26 @@ variants: -flyte -serverless -byoc +selfmanaged
55
---
66

77
# Code Viewer
8-
The Union UI allows you to view the exact code that executed a specific task. Union securely transfers the [code bundle](../../user-guide/run-scaling/life-of-a-run.md/#phase-2-image-building) directly to your browser without routing it through the control plane.
8+
9+
The Union UI allows you to view the exact code that executed a specific task. Union securely transfers the [code bundle](../../user-guide/run-scaling/life-of-a-run#phase-2-image-building) directly to your browser without routing it through the control plane.
910

1011
![Code Viewer](../../_static/images/deployment/configuration/code-viewer/demo.png)
1112

1213
## Enable CORS policy on your fast registration bucket
14+
1315
To support this feature securely, your bucket must allow CORS access from Union. The configuration steps vary depending on your cloud provider.
1416

1517
{{< tabs "bucket-cors-policy" >}}
1618
{{< tab "AWS S3 Console" >}}
1719
{{< markdown >}}
20+
1821
1. Open the AWS Console.
1922
2. Navigate to the S3 dashboard.
2023
3. Select your fast registration bucket. By default, this is the same as the metadata bucket configured during initial deployment.
2124
4. Click the **Permissions** tab and scroll to **Cross-origin resource sharing (CORS)**.
2225
5. Click **Edit** and enter the following policy:
2326
![S3 CORS Policy](../../_static/images/deployment/configuration/code-viewer/s3.png)
27+
2428
```
2529
[
2630
{
@@ -41,11 +45,14 @@ To support this feature securely, your bucket must allow CORS access from Union.
4145
}
4246
]
4347
```
48+
4449
For more details, see the [AWS S3 CORS documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/cors.html).
50+
4551
{{< /markdown >}}
4652
{{< /tab >}}
4753
{{< tab "Google GCS" >}}
4854
{{< markdown >}}
55+
4956
Google Cloud Storage requires CORS configuration via the command line.
5057

5158
1. Create a `cors.json` file with the following content:
@@ -78,11 +85,14 @@ Google Cloud Storage requires CORS configuration via the command line.
7885
- ETag
7986
```
8087
For more details, see the [Google Cloud Storage CORS documentation](https://docs.cloud.google.com/storage/docs/using-cors#command-line).
88+
8189
{{< /markdown >}}
8290
{{< /tab >}}
8391
{{< tab "Azure Storage" >}}
8492
{{< markdown >}}
93+
8594
For Azure Storage CORS configuration, see the [Azure Storage CORS documentation](https://learn.microsoft.com/en-us/rest/api/storageservices/cross-origin-resource-sharing--cors--support-for-the-azure-storage-services).
95+
8696
{{< /markdown >}}
8797
{{< /tab >}}
8898
{{< /tabs >}}

0 commit comments

Comments
 (0)