-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Type of change <!-- Please be sure to add the appropriate label to your PR. --> This PR implements a number of changes outlined in my Tier audit: https://docs.google.com/document/d/1Go2vRf40PlVWka41dG_jmNZY_xkhhBbclf28duWwZ1E/edit?usp=sharing Specifically, this PR updates any resources that use an affected image in an example to using one that will remain avaiable after the change. It also fixes the vulnerability comparisions template to point readers to the image's readme in the Image's Directory. Part 1/3 is Erika's initial work to improve/clarify language around our pricing tiers Part 3/3 will be implementing a short code note and adding it to resources that will not be updated and instead continue to use images. ### What should this PR do? <!-- Does this PR resolve an issue? Please include a reference to it. --> Resolves chainguard-dev/internal#4126 ### Why are we making this change? <!-- What larger problem does this PR address? --> Clarity around products and pricing ### What are the acceptance criteria? <!-- What should be happening for this PR to be accepted? Please list criteria. --> <!-- Do any stakeholders need to be tagged in this review? If so, please add them. --> Changes should make sense. They're generally very small / trivial to the bulk of the respective guide. ### How should this PR be tested? <!-- What should your reviewer do to test this PR? Please list steps. --> Give changes a close look please! --------- Signed-off-by: Mark Drake <[email protected]>
- Loading branch information
Showing
12 changed files
with
58 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,9 @@ aliases: | |
type: "article" | ||
description: "Tutorial outlining how to set up a remote Artifactory repository to pull Images through from the Chainguard Registry." | ||
date: 2024-02-13T15:56:52-07:00 | ||
lastmod: 2024-07-09T15:56:52-07:00 | ||
lastmod: 2024-08-19T15:56:52-07:00 | ||
draft: false | ||
tags: ["Product", "Procedural", "Chainguard Images"] | ||
tags: ["PRODUCT", "PROCEDURAL", "CHAINGUARD IMAGES"] | ||
images: [] | ||
menu: | ||
docs: | ||
|
@@ -62,18 +62,18 @@ Following that, click the **Create Remote Repository** button. If everything wor | |
|
||
After clicking the **Set Up Docker Client** button, a modal window will appear from the right side of the page. Click the **Generate Token & Create Instructions** button, which will generate two code blocks whose contents you can copy. | ||
|
||
The first will be a `docker login` command similar to the following example. Copy this command and run it in your terminal. | ||
The first will be a `docker login` command similar to the following example. Run the following command in your terminal: | ||
|
||
```sh | ||
docker login -u<[email protected]> <myproject>.jfrog.io | ||
``` | ||
|
||
After running this command, you'll be prompted to enter a password. Copy the token from the second code block and paste it into your terminal. | ||
|
||
After running the `docker login` command, you will be able to pull a Chainguard Developer Image through Artifactory. The following example pulls the `wolfi-base` Image. | ||
After running the `docker login` command, you will be able to pull a Chainguard Developer Image through Artifactory. The following example pulls the `go` Image: | ||
|
||
```sh | ||
docker pull <myproject>.jfrog.io/cgr-public/chainguard/wolfi-base | ||
docker pull <myproject>.jfrog.io/cgr-public/chainguard/go | ||
``` | ||
|
||
Be sure the `docker pull` command you run includes the name of your project as well as your own repository key in place of `cgr-public`. | ||
|
@@ -85,7 +85,7 @@ Production Chainguard Images are enterprise-ready images that come with patch SL | |
|
||
To get started, you will need to create [a pull token](/chainguard/chainguard-registry/authenticating/#authenticating-with-a-pull-token) for your organization's Chainguard Registry. Pull tokens are longer-lived tokens that can be used to pull Images from other environments that don't support OIDC, such as some CI environments, Kubernetes clusters, or with registry mirroring tools like Artifactory. | ||
|
||
To create a pull token with `chainctl`, run the following command. | ||
To create a pull token with `chainctl`, run the following command: | ||
|
||
```sh | ||
chainctl auth configure-docker --pull-token --parent <organization> | ||
|
@@ -95,7 +95,7 @@ Be sure to replace `<organization>` with your organization's name or ID. | |
|
||
> **Note**: You can find your organization's name or ID by running `chainctl iam groups list -o table`. | ||
This command will return a `docker login` command like the following. | ||
This command will return a `docker login` command like the following: | ||
|
||
``` | ||
. . . | ||
|
@@ -127,7 +127,7 @@ Following that, click the **Create Remote Repository** button. If everything wor | |
|
||
After clicking the **Set Up Docker Client** button, a modal window will appear from the right side of the page. Click the **Generate Token & Create Instructions** button, which will generate two code blocks. | ||
|
||
The first will be a `docker login` command similar to the following example. Copy this command and run it in your terminal. | ||
The first will be a `docker login` command similar to the following example. Copy this command and run it in your terminal: | ||
|
||
```sh | ||
docker login -u<[email protected]> <myproject>.jfrog.io | ||
|
@@ -137,13 +137,13 @@ Be sure to include your own username and Artifactory instance. | |
|
||
After running this command, you'll be prompted to enter a password. Copy the token from the second code block, paste it into your terminal, and press `ENTER`. | ||
|
||
After running the `docker login` command, you will be able to pull a Chainguard Production Image through Artifactory. The following example pulls the `wolfi-base` Image. | ||
After running the `docker login` command, you will be able to pull a Chainguard Production Image through Artifactory. The following example will pull the `chainguard-base` Image if your organization has access to it: | ||
|
||
```sh | ||
docker pull <myproject>.jfrog.io/cgr-private/<organization-name>/wolfi-base | ||
docker pull <myproject>.jfrog.io/cgr-private/<example.com>/chainguard-base:latest | ||
``` | ||
|
||
Be sure the `docker pull` command you run includes the name of your artifactory project and the proper name of your organization's registry. Additionally, if you entered a different repository key in the setup section, use it in place of `cgr-private`. | ||
Be sure the `docker pull` command you run includes the name of your artifactory project and the name of your organization's registry. Additionally, if you entered a different repository key in the setup section, use it in place of `cgr-private`. | ||
|
||
|
||
## Debugging pull through from Chainguard’s registry to Artifactory | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.