@@ -20,20 +20,31 @@ For guidance on how to add a custom pack to an OCI pack registry, check out the
2020
2121## Prerequisites
2222
23- - You must have a private OCI type Pack registry that supports basic authentication. Public OCI registries are not
24- supported.
23+ - Tenant admin access to Palette.
2524
26- - Credentials to access the OCI registry. If you are using an AWS ECR registry , you must have the AWS credentials to an
27- IAM user or add a trust relationship to an IAM role so that Palette can access the registry.
25+ - Credentials to access the OCI registry. If you are using an Amazon Elastic Container Registry (ECR) , you must have the
26+ AWS credentials to an IAM user or add a trust relationship to an IAM role so that Palette can access the registry.
2827
2928- If the OCI registry is using a self-signed certificate, or a certificate that is not signed by a trusted certificate
3029 authority (CA), you will need the certificate to add the registry to Palette.
3130
32- - Tenant admin access to Palette.
31+ - If you are using an Amazon ECR and your [ Palette] ( ../../../enterprise-version/enterprise-version.md ) or
32+ [ Palette VerteX] ( ../../../vertex/vertex.md ) instance is installed in an airgapped environment or an environment with
33+ limited internet access, you must whitelist the S3 endpoint that corresponds to the region of your Amazon ECR. This is
34+ because image layers are stored in S3, not the registry. The S3 endpoint uses the following format. Replace ` <region> `
35+ with the region your ECR is hosted in.
36+
37+ ``` shell
38+ prod-< region> -starport-layer-bucket.s3.< region> .amazonaws.com
39+ ```
40+
41+ ``` shell hideClipboard title="Example S3 endpoint"
42+ prod-us-east-1-starport-layer-bucket.s3.us-east-1.amazonaws.com
43+ ```
3344
34- - If you are using an AWS ECR registry , ensure you have the following Identity Access Management (IAM) permissions
35- attached to the IAM user or IAM role that Palette will use to access the registry. You can reduce the ` Resource ` scope
36- from ` * ` to the specific Amazon Resource Name (ARN) of the AWS ECR registry you are using.
45+ - If you are using an Amazon ECR, ensure you have the following Identity Access Management (IAM) permissions attached to
46+ the IAM user or IAM role that Palette will use to access the registry. You can reduce the ` Resource ` scope from ` * ` to
47+ the specific Amazon Resource Name (ARN) of the ECR you are using.
3748
3849 ``` json
3950 {
@@ -113,7 +124,7 @@ registry you are adding.
113124
114125</TabItem >
115126
116- <TabItem value =" aws " label =" AWS ECR" >
127+ <TabItem value =" aws " label =" Amazon ECR" >
117128
1181291 . Log in to the [ Palette] ( https://console.spectrocloud.com ) as a Tenant administrator.
119130
@@ -135,12 +146,11 @@ registry you are adding.
135146 if the OCI registry URL is ` https://registry.example.com ` and the OCI Packs are stored in the ` custom ` repository,
136147 the base content path is ` custom ` .
137148
138- 10 . If you are using a private ECR registry, toggle the ** Enable Authentication** option to expose the authentication
139- fields.
149+ 10 . If you are using a private ECR, toggle the ** Enable Authentication** option to expose the authentication fields.
140150
14115111 . Select the ** AWS Authentication Method** . Choose ** Credentials** if you want to provide the static AWS credentials
142- for an IAM user. Choose ** STS** if you want to Palette to assume an IAM role that has access to the ECR registry
143- through the Security Token Service (STS). Refer to the table below to learn more about each credential type.
152+ for an IAM user. Choose ** STS** if you want Palette to assume an IAM role that has access to the ECR through the
153+ Security Token Service (STS). Refer to the table below to learn more about each credential type.
144154
145155#### Credentials
146156
@@ -160,9 +170,9 @@ registry you are adding.
160170::: warning
161171
162172If you selected ** STS** as the authentication method, you must add a trust relationship to the IAM role you are using to
163- access the ECR registry . Refer to the instructions exposed in the side-drawer to the right of the input field to review
164- the IAM trust relationship changes you must add to your IAM role. Failure to add the trust relationship will result in
165- an error when you attempt to validate the registry.
173+ access the ECR. Refer to the instructions exposed in the side-drawer to the right of the input field to review the IAM
174+ trust relationship changes you must add to your IAM role. Failure to add the trust relationship will result in an error
175+ when you attempt to validate the registry.
166176
167177:::
168178
0 commit comments