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

Commit221a43c

Browse files
authored
Update amazon-ecr.md (#651)
* Update amazon-ecr.mdRestructured topic and added Access key section with prereqs and params* Update ECR settingsReplaced span class with code class for all CR topics* Update amazon-ecr.mdUpdated note to indicate support for integration modes* Update screenshot with IAM and access keyMinor content edits; replaced screenshot with new one showing both modes* Update amazon-ecr.md* Update x-ref link for container registry topicsFixed x-ref in all container registry topics
1 parent80e160d commit221a43c

File tree

7 files changed

+59
-20
lines changed

7 files changed

+59
-20
lines changed

‎_docs/gitops-integrations/container-registries.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ use it.
8282
max-width="50%"
8383
%}
8484

85-
###Related articles
85+
##Related articles
8686
[CI GitOps integrations]({{site.baseurl}}/docs/gitops-integrations/ci-integrations/)
8787
[Issue-tracking GitOps integrations]({{site.baseurl}}/docs/gitops-integrations/issue-tracking/)
8888
[Shared configuration repo]({{site.baseurl}}/docs/reference/shared-configuration/)

‎_docs/gitops-integrations/container-registries/amazon-ecr.md‎

Lines changed: 50 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,30 @@ sub_group: container-registries
66
toc:true
77
---
88

9-
Codefresh has native supportfor interacting with Amazon ECR (Elastic Container Registry),to push, pull, and deploy images.
10-
For information on adding an Amazon ECR integration for GitOps in Codefresh, see[Container registry GitOps integrations]({{site.baseurl}}/docs/gitops-integrations/container-registries/).
9+
Codefresh has native supportto interact with Amazon ECR (Elastic Container Registry),and push, pull, and deploy images.
10+
Forgeneralinformation on adding an Amazon ECR integration for GitOps in Codefresh, see[Container registry GitOps integrations]({{site.baseurl}}/docs/gitops-integrations/container-registries/).
1111

12-
>Amazon ECR integration is supported only for Hybrid GitOps.
12+
13+
##GitOps Amazon ECR integration options
14+
15+
You can set up the integration with Amazon ECR in one of two modes:
16+
* IAM (Identity and Access Management) role (dynamic integration)
17+
[IAM](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html){:target="\_blank"} roles provide temporary security credentials for applications and services to access AWS resources securely, that expire after a period of time.
18+
* Access key and secret (static integration)
19+
Access keys consist of an access key ID and a secret access key, used to authenticate and authorize API requests to AWS services for a specific user.
20+
Unlike IAM roles, access keys are long-term credentials, without a default expiration date.
21+
22+
>Amazon ECR integration with IAM Role is supported only for Hybrid GitOps.
23+
Access Key integration is supported for both Hosted and Hybrid GitOps.
24+
25+
26+
Both IAM and access key modes use AWS Identity and Access Management (IAM) to create the integration with Amazon ECR.
27+
For detailed information, see[How Amazon Elastic Container Registry Works with IAM](https://docs.aws.amazon.com/AmazonECR/latest/userguide/security_iam_service-with-iam.html){:target="\_blank"} and the[AWS security blog](https://aws.amazon.com/blogs/security/how-to-use-trust-policies-with-iam-roles/){:target="\_blank"}.
1328

1429
##Prerequisites
30+
31+
32+
###IAM Role integration
1533
Before you configure settings in Codefresh to integrate Amazon ECR:
1634
*[Create an IAM (Identity and Access Management) role](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html){:target="\_blank"}
1735

@@ -27,7 +45,28 @@ For example:
2745
"Condition":{}
2846
}
2947
```
30-
For detailed information, see[How Amazon Elastic Container Registry Works with IAM](https://docs.aws.amazon.com/AmazonECR/latest/userguide/security_iam_service-with-iam.html){:target="\_blank"} and the[AWS security blog](https://aws.amazon.com/blogs/security/how-to-use-trust-policies-with-iam-roles/){:target="\_blank"}.
48+
49+
50+
###Access Key integration
51+
You must generate an access key ID and the access secret for the IAM user, and download or copy them to a secure location.
52+
53+
54+
>The steps that follow describe access key generation through the AWS Management Console.
55+
We assume that you have created the IAM user for whom to generate the access key. See[Creating an IAM user in your AWS account](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users_create.html){:target="\_blank"}.
56+
57+
58+
1. Sign in to the AWS**Management Console**, and go to the IAM dashboard.
59+
1. In the left pane, click**Users**, and select the IAM user for whom to generate an access key.
60+
1. Click the**Security credentials** tab.
61+
1. Below Access keys, click**Create access key**.
62+
1. From Access key best practices & alternatives, select**Command Line Interface (CLI)**.
63+
1. Select**I understand the above recommendation...** and then click**Next**.
64+
1. Enter an optional description and then click**Create access key**.
65+
1. Click**Download .csv file**, or copy the**Access key ID**, and the**Secret access key** which is automatically generated to a secure location.
66+
You will need to define them in the integration settings.
67+
1. Click**Done**.
68+
69+
3170

3271
##Amazon ECR-GitOps integration settings in Codefresh
3372
The table describes the arguments required for GitOps integrations with Amazon ECR in Codefresh.
@@ -36,23 +75,23 @@ The table describes the arguments required for GitOps integrations with Amazon E
3675
| Setting| Description|
3776
| ----------| --------|
3877
|**Integration name**| A friendly name for the integration. This is the name you will reference in the third-party CI platform/tool.|
39-
|**All Runtimes/Selected Runtimes**| {::nomarkdown} The runtimes in the account with which to share the integration resource. <br>The integration resource is created in the Git repository with the shared configuration, within <spanstyle="font-family:var(--font-family-monospace);font-size:87.5%;color:#ad6800;background-color:#fffbe6">resources</span>. The exact location depends on whether the integration is shared with all or specific runtimes: <br><ul><li>All runtimes: Created in <spanstyle="font-family:var(--font-family-monospace);font-size:87.5%;color:#ad6800;background-color:#fffbe6">resources/all-runtimes-all-clusters/</span></li><li>Selected runtimes: Created in <spanstyle="font-family:var(--font-family-monospace);font-size:87.5%;color:#ad6800;background-color:#fffbe6">resources/runtimes/<runtime-name>/</span></li></ul> You can reference the Docker Hub integration in the CI tool. {:/}|
40-
|**IAM Role**| The name of the IAM role you defined with the specific permissions for authentication to the ECR.|
41-
|**Region**|The geographic region hosting thecontainer registry. Define the region nearest to you.|
78+
|**All Runtimes/Selected Runtimes**| {::nomarkdown} The runtimes in the account with which to share the integration resource. <br>The integration resource is created in the Git repository with the shared configuration, within <codeclass="highlighter-rouge">resources</code>. The exact location depends on whether the integration is shared with all or specific runtimes: <br><ul><li>All runtimes: Created in <codeclass="highlighter-rouge">resources/all-runtimes-all-clusters/</code></li><li>Selected runtimes: Created in <codeclass="highlighter-rouge">resources/runtimes/<runtime-name></code></li></ul> You can reference the Docker Hub integration in the CI tool. {:/}|
79+
|**IAM Role settings**|IAM Role integration is not supported for Hosted GitOps Runtimes.{::nomarkdown}<ul><li><b>IAM Role</b>:The name of the IAM role you defined with the specific permissions for authentication to the ECR registry.</li><li><b>Region</b>: The geographic region hosting the container registry. Define the region nearest to you.</li></ul>{:/}|
80+
|**Access Key settings**|Access Key integration is supported for both Hosted and Hybrid GitOps Runtimes.{::nomarkdown}<ul><li><b>Access Key ID</b>:Theaccess key generated for the IAM user, and paired with the <b>Secret Access Key</b> for authentication to the ECR registry.</li><li><b>Secret Access Key</b>: The secret access key generated for and paired with the <b>Access Key</b> for authentication to the ECR registry.</li><li><b>Region</b>: Thegeographic region hosting theECR registry. Define the region nearest to you.</li></ul>{:/}|
4281
|**Test connection**| Click to verify that you can connect to the specified instance before you commit changes.|
4382

4483

4584
{% include
4685
image.html
4786
lightbox="true"
48-
file="/images/integrations/aws/aws-int-settings.png"
49-
url="/images/integrations/aws/aws-int-settings.png"
87+
file="/images/integrations/aws/ecr-role-access-key-int-settings.png"
88+
url="/images/integrations/aws/ecr-role-access-key-int-settings.png"
5089
alt="Amazon ECR for image enrichment"
51-
caption="Amazon ECR for image enrichment"
90+
caption="Amazon ECRintegrationfor image enrichment"
5291
max-width="50%"
5392
%}
5493

55-
For how-to instructions, see[Configure container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#configure-container-registry-integrations-for-gitops-in-codefresh) and[Edit/delete container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#editdelete-container-registry-integrations).
94+
For how-to instructions, see[Configure container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#configure-container-registry-integrations-for-gitops-in-codefresh) and[Edit/delete container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#editdelete-container-registry-integrations-for-gitops).
5695

5796

5897
##Related articles

‎_docs/gitops-integrations/container-registries/dockerhub.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The table describes the arguments required for Docker Hub GitOps integration in
2323
| Setting| Description|
2424
| ----------| --------|
2525
|**Integration name**| A friendly name for the integration. This is the name you will reference in the third-party CI platform/tool.|
26-
|**All Runtimes/Selected Runtimes**| {::nomarkdown} The runtimes in the account with which to share the integration resource. <br>The integration resource is created in the Git repository with the shared configuration, within <spanstyle="font-family:var(--font-family-monospace);font-size:87.5%;color:#ad6800;background-color:#fffbe6">resources</span>. The exact location depends on whether the integration is shared with all or specific runtimes: <br><ul><li>All runtimes: Created in <spanstyle="font-family:var(--font-family-monospace);font-size:87.5%;color:#ad6800;background-color:#fffbe6">resources/all-runtimes-all-clusters/</span></li><li>Selected runtimes: Created in <spanstyle="font-family:var(--font-family-monospace);font-size:87.5%;color:#ad6800;background-color:#fffbe6">resources/runtimes/<runtime-name>/</span></li></ul> You can reference the Docker Hub integration in the CI tool. {:/}|
26+
|**All Runtimes/Selected Runtimes**| {::nomarkdown} The runtimes in the account with which to share the integration resource. <br>The integration resource is created in the Git repository with the shared configuration, within <codeclass="highlighter-rouge">resources</code>. The exact location depends on whether the integration is shared with all or specific runtimes: <br><ul><li>All runtimes: Created in <codeclass="highlighter-rouge">resources/all-runtimes-all-clusters/</code></li><li>Selected runtimes: Created in <codeclass="highlighter-rouge">resources/runtimes/<runtime-name></code></li></ul> You can reference the Docker Hub integration in the CI tool. {:/}|
2727
|**Username**| The Docker Hub username.|
2828
|**Password**| If you enabled two-factor authentication, enter the personal access token for your Docker Hub account for Codefresh to push images. Personal access tokens are more secure and can be revoked when needed. Codefresh can then push your images. If two-factor authentication is not enabled, enter the password of your Docker Hub account (not recommended).|
2929
|**Test connection**| Click to verify that you can connect to the specified instance before you commit changes.|
@@ -39,7 +39,7 @@ The table describes the arguments required for Docker Hub GitOps integration in
3939
max-width="50%"
4040
%}
4141

42-
For how-to instructions, see[Configure container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#configure-container-registry-integrations-in-codefresh) and[Edit/delete container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#editdelete-container-registry-integrations).
42+
For how-to instructions, see[Configure container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#configure-container-registry-integrations-in-codefresh) and[Edit/delete container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#editdelete-container-registry-integrations-for-gitops).
4343

4444
##Related articles
4545
[Shared configuration repo]({{site.baseurl}}/docs/reference/shared-configuration/)

‎_docs/gitops-integrations/container-registries/github-cr.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Before you configure settings in Codefresh to integrate GitHub container registr
2727
| Setting| Description|
2828
| ----------| --------|
2929
|**Integration name**| A friendly name for the integration. This is the name you will reference in the third-party CI platform/tool.|
30-
|**All Runtimes/Selected Runtimes**| {::nomarkdown} The runtimes in the account with which to share the integration resource. <br> The integration resource is created in the Git repository with the shared configuration, within <spanstyle="font-family:var(--font-family-monospace);font-size:87.5%;color:#ad6800;background-color:#fffbe6">resources</span>. The exact location depends on whether the integration is shared with all or specific runtimes: <br><ul><li>All runtimes: Created in <spanstyle="font-family:var(--font-family-monospace);font-size:87.5%;color:#ad6800;background-color:#fffbe6">resources/all-runtimes-all-clusters/</span></li><li>Selected runtimes: Created in <spanstyle="font-family:var(--font-family-monospace);font-size:87.5%;color:#ad6800;background-color:#fffbe6">resources/runtimes/<runtime-name>/</span></li></ul> {:/}|
30+
|**All Runtimes/Selected Runtimes**| {::nomarkdown} The runtimes in the account with which to share the integration resource. <br> The integration resource is created in the Git repository with the shared configuration, within <codeclass="highlighter-rouge">resources</code>. The exact location depends on whether the integration is shared with all or specific runtimes: <br><ul><li>All runtimes: Created in <codeclass="highlighter-rouge">resources/all-runtimes-all-clusters/</code></li><li>Selected runtimes: Created in <codeclass="highlighter-rouge">resources/runtimes/<runtime-name></code></li></ul> {:/}|
3131
|**Domain**| The GitHub registry domain and is set to`ghcr.io`.|
3232
|**Username**| Your GitHub username.|
3333
|**GitHub Token**| Your GitHub PAT (personal access token).|
@@ -44,7 +44,7 @@ Before you configure settings in Codefresh to integrate GitHub container registr
4444
max-width="50%"
4545
%}
4646

47-
For how-to instructions, see[Configure container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#configure-container-registry-integrations-for-gitops-in-codefresh) and[Edit/delete container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#editdelete-container-registry-integrations).
47+
For how-to instructions, see[Configure container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#configure-container-registry-integrations-for-gitops-in-codefresh) and[Edit/delete container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#editdelete-container-registry-integrations-for-gitops).
4848

4949
##Related articles
5050
[Shared configuration repo]({{site.baseurl}}/docs/reference/shared-configuration/)

‎_docs/gitops-integrations/container-registries/jfrog.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ For information on adding a JFrog Artifactory integration in Codefresh, see [Git
1717
| Setting| Description|
1818
| ----------| --------|
1919
|**Integration name**| A friendly name for the integration. This is the name you will reference in the third-party CI platform/tool.|
20-
|**All Runtimes/Selected Runtimes**| {::nomarkdown} The runtimes in the account with which to share the integration resource. <br>The integration resource is created in the Git repository with the shared configuration, within <spanstyle="font-family:var(--font-family-monospace);font-size:87.5%;color:#ad6800;background-color:#fffbe6">resources</span>. The exact location depends on whether the integration is shared with all or specific runtimes: <br><ul><li>All runtimes: Created in <spanstyle="font-family:var(--font-family-monospace);font-size:87.5%;color:#ad6800;background-color:#fffbe6">resources/all-runtimes-all-clusters/</span></li><li>Selected runtimes: Created in <spanstyle="font-family:var(--font-family-monospace);font-size:87.5%;color:#ad6800;background-color:#fffbe6">resources/runtimes/<runtime-name>/</span></li></ul> {:/}|
20+
|**All Runtimes/Selected Runtimes**| {::nomarkdown} The runtimes in the account with which to share the integration resource. <br>The integration resource is created in the Git repository with the shared configuration, within <codeclass="highlighter-rouge">resources</code>. The exact location depends on whether the integration is shared with all or specific runtimes: <br><ul><li>All runtimes: Created in <codeclass="highlighter-rouge">resources/all-runtimes-all-clusters/</code></li><li>Selected runtimes: Created in <codeclass="highlighter-rouge">resources/runtimes/<runtime-name></code></li></ul> {:/}|
2121
|**Server Name**| The URL of the JFrog Artifactory server instance.|
2222
|**Username**| The JFrog Artifactory username.|
2323
|**Password**| The JFrog Artifactory password.|
@@ -34,7 +34,7 @@ For information on adding a JFrog Artifactory integration in Codefresh, see [Git
3434
max-width="50%"
3535
%}
3636

37-
For how-to instructions, see[Configure container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#configure-container-registry-integrations-in-codefresh) and[Edit/delete container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#editdelete-container-registry-integrations).
37+
For how-to instructions, see[Configure container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#configure-container-registry-integrations-in-codefresh) and[Edit/delete container registry integrations for GitOps in Codefresh]({{site.baseurl}}/docs/gitops-integrations/container-registries/#editdelete-container-registry-integrations-for-gitops).
3838

3939

4040
##Related articles

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp