Skip to content

Commit

Permalink
refactor(docs): don't use dockerhub in the quickstart or concepts doc (
Browse files Browse the repository at this point in the history
…akuity#2188)

Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com>
  • Loading branch information
krancour authored Jun 24, 2024
1 parent f8fa392 commit 5faa039
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 24 deletions.
21 changes: 12 additions & 9 deletions docs/docs/15-concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ spec:
writeBranch: stages/test
kustomize:
images:
- image: nginx
- image: public.ecr.aws/nginx/nginx
path: stages/test
argoCDAppUpdates:
- appName: kargo-demo-test
Expand Down Expand Up @@ -415,8 +415,9 @@ status:
phase: Steady
currentFreight:
images:
- repoURL: nginx
tag: 1.25.3
- digest: sha256:b2487a28589657b318e0d63110056e11564e73b9fd3ec4c4afba5542f9d07d46
repoURL: public.ecr.aws/nginx/nginx
tag: 1.27.0
commits:
- repoURL: https://github.com/example/kargo-demo.git
id: 1234abc
Expand Down Expand Up @@ -450,8 +451,9 @@ status:
- repoURL: https://github.com/example/kargo-demo.git
id: 1234abc
images:
- repoURL: nginx
tag: 1.25.3
- digest: sha256:b2487a28589657b318e0d63110056e11564e73b9fd3ec4c4afba5542f9d07d46
repoURL: public.ecr.aws/nginx/nginx
tag: 1.27.0
name: 47b33c0c92b54439e5eb7fb80ecc83f8626fe390
warehouse: my-warehouse
verificationInfo:
Expand Down Expand Up @@ -509,8 +511,9 @@ metadata:
kargo.akuity.io/alias: fruitful-ferret
alias: fruitful-ferret
images:
- repoURL: nginx
tag: 1.25.3
- digest: sha256:b2487a28589657b318e0d63110056e11564e73b9fd3ec4c4afba5542f9d07d46
repoURL: public.ecr.aws/nginx/nginx
tag: 1.27.0
commits:
- repoURL: https://github.com/example/kargo-demo.git
id: 1234abc
Expand Down Expand Up @@ -548,8 +551,8 @@ metadata:
spec:
subscriptions:
- image:
repoURL: nginx
semverConstraint: ^1.24.0
repoURL: public.ecr.aws/nginx/nginx
semverConstraint: ^1.26.0
- git:
repoURL: https://github.com/example/kargo-demo.git
```
Expand Down
30 changes: 16 additions & 14 deletions docs/docs/20-quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,9 @@ the previous section.
spec:
subscriptions:
- image:
repoURL: nginx
semverConstraint: ^1.24.0
repoURL: public.ecr.aws/nginx/nginx
semverConstraint: ^1.26.0
discoveryLimit: 5
---
apiVersion: kargo.akuity.io/v1alpha1
kind: Stage
Expand All @@ -352,7 +353,7 @@ the previous section.
writeBranch: stage/test
kustomize:
images:
- image: nginx
- image: public.ecr.aws/nginx/nginx
path: stages/test
argoCDAppUpdates:
- appName: kargo-demo-test
Expand All @@ -373,7 +374,7 @@ the previous section.
writeBranch: stage/uat
kustomize:
images:
- image: nginx
- image: public.ecr.aws/nginx/nginx
path: stages/uat
argoCDAppUpdates:
- appName: kargo-demo-uat
Expand All @@ -394,7 +395,7 @@ the previous section.
writeBranch: stage/prod
kustomize:
images:
- image: nginx
- image: public.ecr.aws/nginx/nginx
path: stages/prod
argoCDAppUpdates:
- appName: kargo-demo-prod
Expand Down Expand Up @@ -434,8 +435,9 @@ the previous section.
uat NotApplicable 20s
```
1. Our `Warehouse`, which subscribes to the `nginx` image repository, also
should have already produced `Freight`:
1. After a few seconds, our `Warehouse`, which subscribes to the
`public.ecr.aws/nginx/nginx` container image, also should have already
produced `Freight`:
```shell
kargo get freight --project kargo-demo
Expand All @@ -458,7 +460,7 @@ the previous section.
* Helm charts (from chart repositories)
This introductory example has `Freight` that references only a specific
version of the `nginx` container image.
version of the `public.ecr.aws/nginx/nginx` container image.
:::
1. We'll use it later, so save the ID of the `Freight` to an environment
Expand Down Expand Up @@ -534,9 +536,9 @@ the previous section.
"id": "f5f87aa23c9e97f43eb83dd63768ee41f5ba3766",
"images": [
{
"digest": "sha256:2bdc49f2f8ae8d8dc50ed00f2ee56d00385c6f8bc8a8b320d0a294d9e3b49026",
"repoURL": "nginx",
"tag": "1.25.3"
"digest": "sha256:b2487a28589657b318e0d63110056e11564e73b9fd3ec4c4afba5542f9d07d46",
"repoURL": "public.ecr.aws/nginx/nginx",
"tag": "1.27.0"
}
],
},
Expand All @@ -546,9 +548,9 @@ the previous section.
"id": "f5f87aa23c9e97f43eb83dd63768ee41f5ba3766",
"images": [
{
"digest": "sha256:2bdc49f2f8ae8d8dc50ed00f2ee56d00385c6f8bc8a8b320d0a294d9e3b49026",
"repoURL": "nginx",
"tag": "1.25.3"
"digest": "sha256:b2487a28589657b318e0d63110056e11564e73b9fd3ec4c4afba5542f9d07d46",
"repoURL": "public.ecr.aws/nginx/nginx",
"tag": "1.27.0"
}
],
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
writeBranch: main
kustomize:
images:
- image: nginx
- image: public.ecr.aws/nginx/nginx
path: stages/prod
argoCDAppUpdates:
- appName: kargo-demo-prod
Expand Down

0 comments on commit 5faa039

Please sign in to comment.