aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/doc/packages
diff options
context:
space:
mode:
authorKN4CK3R <admin@oldschoolhack.me>2022-04-19 18:55:35 +0200
committerGitHub <noreply@github.com>2022-04-19 12:55:35 -0400
commit18727df73a00e7d05d3e1a68d6dae521cca7ff49 (patch)
treede06d623e932c8aef1720ac3399d3a7bc658e802 /docs/content/doc/packages
parentb74322dfce8d15e9204900913bb815a7b0ba073f (diff)
downloadgitea-18727df73a00e7d05d3e1a68d6dae521cca7ff49.tar.gz
gitea-18727df73a00e7d05d3e1a68d6dae521cca7ff49.zip
Add Helm Chart registry (#19406)
Diffstat (limited to 'docs/content/doc/packages')
-rw-r--r--docs/content/doc/packages/helm.en-us.md67
-rw-r--r--docs/content/doc/packages/maven.en-us.md2
-rw-r--r--docs/content/doc/packages/npm.en-us.md2
-rw-r--r--docs/content/doc/packages/nuget.en-us.md2
-rw-r--r--docs/content/doc/packages/overview.en-us.md1
-rw-r--r--docs/content/doc/packages/pypi.en-us.md2
-rw-r--r--docs/content/doc/packages/rubygems.en-us.md2
7 files changed, 73 insertions, 5 deletions
diff --git a/docs/content/doc/packages/helm.en-us.md b/docs/content/doc/packages/helm.en-us.md
new file mode 100644
index 0000000000..9c43b08bf4
--- /dev/null
+++ b/docs/content/doc/packages/helm.en-us.md
@@ -0,0 +1,67 @@
+---
+date: "2022-04-14T00:00:00+00:00"
+title: "Helm Chart Registry"
+slug: "packages/helm"
+draft: false
+toc: false
+menu:
+ sidebar:
+ parent: "packages"
+ name: "Helm"
+ weight: 50
+ identifier: "helm"
+---
+
+# Helm Chart Registry
+
+Publish [Helm](https://helm.sh/) charts for your user or organization.
+
+**Table of Contents**
+
+{{< toc >}}
+
+## Requirements
+
+To work with the Helm Chart registry use a simple HTTP client like `curl` or the [`helm cm-push`](https://github.com/chartmuseum/helm-push/) plugin.
+
+## Publish a package
+
+Publish a package by running the following command:
+
+```shell
+curl --user {username}:{password} -X POST --upload-file ./{chart_file}.tgz https://gitea.example.com/api/packages/{owner}/helm/api/charts
+```
+
+or with the `helm cm-push` plugin:
+
+```shell
+helm repo add --username {username} --password {password} {repo} https://gitea.example.com/api/packages/{owner}/helm
+helm cm-push ./{chart_file}.tgz {repo}
+```
+
+| Parameter | Description |
+| ------------ | ----------- |
+| `username` | Your Gitea username. |
+| `password` | Your Gitea password or a personal access token. |
+| `repo` | The name for the repository. |
+| `chart_file` | The Helm Chart archive. |
+| `owner` | The owner of the package. |
+
+## Install a package
+
+To install a Helm char from the registry, execute the following command:
+
+```shell
+helm repo add --username {username} --password {password} {repo} https://gitea.example.com/api/packages/{owner}/helm
+helm repo update
+helm install {name} {repo}/{chart}
+```
+
+| Parameter | Description |
+| ---------- | ----------- |
+| `username` | Your Gitea username. |
+| `password` | Your Gitea password or a personal access token. |
+| `repo` | The name for the repository. |
+| `owner` | The owner of the package. |
+| `name` | The local name. |
+| `chart` | The name Helm Chart. |
diff --git a/docs/content/doc/packages/maven.en-us.md b/docs/content/doc/packages/maven.en-us.md
index 78288a9e42..837c8434ae 100644
--- a/docs/content/doc/packages/maven.en-us.md
+++ b/docs/content/doc/packages/maven.en-us.md
@@ -8,7 +8,7 @@ menu:
sidebar:
parent: "packages"
name: "Maven"
- weight: 50
+ weight: 60
identifier: "maven"
---
diff --git a/docs/content/doc/packages/npm.en-us.md b/docs/content/doc/packages/npm.en-us.md
index 28b7cb8827..9ab4ac900c 100644
--- a/docs/content/doc/packages/npm.en-us.md
+++ b/docs/content/doc/packages/npm.en-us.md
@@ -8,7 +8,7 @@ menu:
sidebar:
parent: "packages"
name: "npm"
- weight: 60
+ weight: 70
identifier: "npm"
---
diff --git a/docs/content/doc/packages/nuget.en-us.md b/docs/content/doc/packages/nuget.en-us.md
index 5565bf5b89..0b92d85a3d 100644
--- a/docs/content/doc/packages/nuget.en-us.md
+++ b/docs/content/doc/packages/nuget.en-us.md
@@ -8,7 +8,7 @@ menu:
sidebar:
parent: "packages"
name: "NuGet"
- weight: 70
+ weight: 80
identifier: "nuget"
---
diff --git a/docs/content/doc/packages/overview.en-us.md b/docs/content/doc/packages/overview.en-us.md
index 1e4209930f..10f2184bc9 100644
--- a/docs/content/doc/packages/overview.en-us.md
+++ b/docs/content/doc/packages/overview.en-us.md
@@ -30,6 +30,7 @@ The following package managers are currently supported:
| [Conan]({{< relref "doc/packages/conan.en-us.md" >}}) | C++ | `conan` |
| [Container]({{< relref "doc/packages/container.en-us.md" >}}) | - | any OCI compliant client |
| [Generic]({{< relref "doc/packages/generic.en-us.md" >}}) | - | any HTTP client |
+| [Helm]({{< relref "doc/packages/helm.en-us.md" >}}) | - | any HTTP client, `cm-push` |
| [Maven]({{< relref "doc/packages/maven.en-us.md" >}}) | Java | `mvn`, `gradle` |
| [npm]({{< relref "doc/packages/npm.en-us.md" >}}) | JavaScript | `npm`, `yarn` |
| [NuGet]({{< relref "doc/packages/nuget.en-us.md" >}}) | .NET | `nuget` |
diff --git a/docs/content/doc/packages/pypi.en-us.md b/docs/content/doc/packages/pypi.en-us.md
index 1d7a8f22e8..d9f4872dca 100644
--- a/docs/content/doc/packages/pypi.en-us.md
+++ b/docs/content/doc/packages/pypi.en-us.md
@@ -8,7 +8,7 @@ menu:
sidebar:
parent: "packages"
name: "PyPI"
- weight: 80
+ weight: 90
identifier: "pypi"
---
diff --git a/docs/content/doc/packages/rubygems.en-us.md b/docs/content/doc/packages/rubygems.en-us.md
index 603e925e32..9d9ce09b1c 100644
--- a/docs/content/doc/packages/rubygems.en-us.md
+++ b/docs/content/doc/packages/rubygems.en-us.md
@@ -8,7 +8,7 @@ menu:
sidebar:
parent: "packages"
name: "RubyGems"
- weight: 90
+ weight: 100
identifier: "rubygems"
---