Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ This is a GitOps repository of a Kargo Helm example for getting started.
```

You will now have a `guestbook` container image repository. e.g.:
https://github.com/yourgithubusername/guestbook/pkgs/container/guestbook
https://github.com/users/yourgithubusername/packages/container/package/guestbook

5. Change guestbook container image repository to public.

Expand All @@ -56,25 +56,31 @@ This is a GitOps repository of a Kargo Helm example for getting started.

![change-package-visibility](docs/change-package-visibility.png)

6. Download and install the latest CLI from [Kargo Releases](https://github.com/akuity/kargo/releases/latest)
6. Apply the ArgoCD manifests

```shell
kargo apply -f ./argocd
```

7. Download and install the latest CLI from [Kargo Releases](https://github.com/akuity/kargo/releases/latest)

```shell
./download-cli.sh /usr/local/bin/kargo
```

7. Login to Kargo:
8. Login to Kargo:

```shell
kargo login --admin https://<kargo-url>
```

8. Apply the Kargo manifests:
9. Apply the Kargo manifests:

```shell
kargo apply -f ./kargo
```

9. Add the Git repository credentials to Kargo. This can also be done in the UI
10. Add the Git repository credentials to Kargo. This can also be done in the UI
in the `kargo-helm` Project.

```shell
Expand All @@ -89,7 +95,7 @@ This is a GitOps repository of a Kargo Helm example for getting started.
to your Git repository, as well as the ability to create pull requests. Ensure
that the given token has these privileges.

10. Promote the image!
11. Promote the image!

You now have a Kargo Pipeline which promotes images from the guestbook
container image repository, through a three-stage deploy pipeline. Visit
Expand Down
2 changes: 1 addition & 1 deletion argocd/appset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
spec:
destination:
namespace: kargo-helm-{{path.basename}}
name: demo
server: https://kubernetes.default.svc
project: kargo-helm
source:
path: charts/guestbook
Expand Down
1 change: 1 addition & 0 deletions download-cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ fi
version=$(basename $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/akuity/kargo/releases/latest))
os=$(uname -s | tr '[:upper:]' '[:lower:]')
arch=$(uname -m)
[ "$arch" = "x86_64" ] && arch=amd64
download_url=https://github.com/akuity/kargo/releases/download/${version}/kargo-${os}-${arch}

curl -L -o ${1} ${download_url}
Expand Down