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

Conversation

AdrianPedriza
Copy link
Contributor

Signed-off-by: adripedriza adripedriza@gmail.com

fix okteto/okteto#108

Signed-off-by: adripedriza <adripedriza@gmail.com>
@netlify
Copy link

netlify bot commented Sep 30, 2022

Deploy Preview for okteto-docs ready!

Name Link
🔨 Latest commit 0332c18
🔍 Latest deploy log https://app.netlify.com/sites/okteto-docs/deploys/634554b0475c620009037bf2
😎 Deploy Preview https://deploy-preview-221--okteto-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

src/content/cloud/registry.mdx Outdated Show resolved Hide resolved
src/content/cloud/registry.mdx Outdated Show resolved Hide resolved
src/content/cloud/registry.mdx Outdated Show resolved Hide resolved
src/content/cloud/registry.mdx Outdated Show resolved Hide resolved
src/content/cloud/registry.mdx Outdated Show resolved Hide resolved
src/content/cloud/registry.mdx Outdated Show resolved Hide resolved
Signed-off-by: adripedriza <adripedriza@gmail.com>
src/content/cloud/registry.mdx Outdated Show resolved Hide resolved
src/content/cloud/registry.mdx Outdated Show resolved Hide resolved
src/content/cloud/registry.mdx Outdated Show resolved Hide resolved
Signed-off-by: adripedriza <adripedriza@gmail.com>
Signed-off-by: adripedriza <adripedriza@gmail.com>
@rberrelleza
Copy link
Member

IS this supported on 1.0?

src/content/cloud/registry.mdx Outdated Show resolved Hide resolved
src/content/cloud/registry.mdx Outdated Show resolved Hide resolved
src/content/cloud/registry.mdx Outdated Show resolved Hide resolved
helm pull oci://registry.cloud.okteto.net/my-namespace/movies-api --version 0.1.0
```

> Note: This example is using the registry for Cloud. You need adapt the registry domain and namespace name to your case using the notation `oci://<registry-domain>/<okteto-namespace>`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the above, I would remove this note.
Also, the main use case for this feature is to push a chart to the global registry (okteto namespace), and pull it from any namespace. This is useful if you have a single repo with all your charts. On each merge, you push these charts to the okteto namespace (requires admin token). Then, any developer can pull the charts.
@rberrelleza @AdrianPedriza where would you have the use case explained?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about creating a post as a How Do I in our community?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on the above, I would remove this note.

Also, the main use case for this feature is to push a chart to the global registry (okteto namespace), and pull it from any namespace. This is useful if you have a single repo with all your charts. On each merge, you push these charts to the okteto namespace (requires admin token). Then, any developer can pull the charts.

@rberrelleza @AdrianPedriza where would you have the use case explained?

We don't talk about global registry. Canwe add a section on how to use the global registry here?

For the scenario you mention, I think a blog post or how to in community is a better place.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should I then add a section on using the global registry to push charts? @rberrelleza @pchico83 isn't it a specific use case that should go as a blog post or something similar?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the issue already has several approvals, how about merging the PR with the documentation so far and creating a new issue about how to document the use of the global registry as a chart store? so we can close this sprint tasks and continue discussing the best place to document this use case. @rberrelleza @pchico83

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/content/cloud/registry.mdx Outdated Show resolved Hide resolved
src/content/cloud/registry.mdx Outdated Show resolved Hide resolved
Signed-off-by: adripedriza <adripedriza@gmail.com>
@AdrianPedriza
Copy link
Contributor Author

IS this supported on 1.0?

yes, but we already supported it before

@AdrianPedriza AdrianPedriza merged commit 16899d9 into main Oct 14, 2022
@AdrianPedriza AdrianPedriza deleted the adrian/add-docs-about-chart-support-in-okteto-registry branch October 14, 2022 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants