Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add docs about push helm chart into okteto registry #221

Merged
Merged
Changes from 1 commit
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
22 changes: 22 additions & 0 deletions src/content/cloud/registry.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,25 @@ Any image pushed into the Okteto Registry is private. You'll need to authenticat
Namespaces in Okteto Cloud are automatically allowed to pull images that belong to their namespace automatically. If your application uses images from the Okteto Registry, it'll be able to pull container images without any extra configuration.

To pull an image from a different namespace, you'll need to create and configure the required `imagePullSecrets` as outlined [here](/docs/reference/faqs/#how-to-use-private-images).

## Push helm chart into the Okteto Registry

Just as we can push images to the Okteto Registry, you also have the option to push helm charts. To do this, the first step is to login to the registry where we want to push the chart:
AdrianPedriza marked this conversation as resolved.
Show resolved Hide resolved

```
helm registry login -u <user> <registry-domain>
AdrianPedriza marked this conversation as resolved.
Show resolved Hide resolved
```

Once you are logged against the Okteto Registry and packaged the chart, you are able to push the chart to the Okteto Registry.
AdrianPedriza marked this conversation as resolved.
Show resolved Hide resolved

```
helm push <packaged-chart> oci://<registry-domain>/<okteto-namespace>
AdrianPedriza marked this conversation as resolved.
Show resolved Hide resolved
```

Once the packaged chart has been pushed to the Okteto Registry, you can pull to make use of it.
AdrianPedriza marked this conversation as resolved.
Show resolved Hide resolved

```
helm pull oci://<registry-domain>/<okteto-namespace>/<chart-name>
```

> Note: It is necessary to use the expanded notation to reference the URL of the Okteto Registry.
AdrianPedriza marked this conversation as resolved.
Show resolved Hide resolved