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
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.
## Enable CORS policy on your fast registration bucket
14
+
13
15
To support this feature securely, your bucket must allow CORS access from Union. The configuration steps vary depending on your cloud provider.
14
16
15
17
{{< tabs "bucket-cors-policy" >}}
16
18
{{< tab "AWS S3 Console" >}}
17
19
{{< markdown >}}
20
+
18
21
1. Open the AWS Console.
19
22
2. Navigate to the S3 dashboard.
20
23
3. Select your fast registration bucket. By default, this is the same as the metadata bucket configured during initial deployment.
21
24
4. Click the **Permissions** tab and scroll to **Cross-origin resource sharing (CORS)**.
22
25
5. Click **Edit** and enter the following policy:
23
26

27
+
24
28
```
25
29
[
26
30
{
@@ -41,11 +45,14 @@ To support this feature securely, your bucket must allow CORS access from Union.
41
45
}
42
46
]
43
47
```
48
+
44
49
For more details, see the [AWS S3 CORS documentation](https://docs.aws.amazon.com/AmazonS3/latest/userguide/cors.html).
50
+
45
51
{{< /markdown >}}
46
52
{{< /tab >}}
47
53
{{< tab "Google GCS" >}}
48
54
{{< markdown >}}
55
+
49
56
Google Cloud Storage requires CORS configuration via the command line.
50
57
51
58
1. Create a `cors.json` file with the following content:
@@ -78,11 +85,14 @@ Google Cloud Storage requires CORS configuration via the command line.
78
85
- ETag
79
86
```
80
87
For more details, see the [Google Cloud Storage CORS documentation](https://docs.cloud.google.com/storage/docs/using-cors#command-line).
88
+
81
89
{{< /markdown >}}
82
90
{{< /tab >}}
83
91
{{< tab "Azure Storage" >}}
84
92
{{< markdown >}}
93
+
85
94
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).
0 commit comments