diff options
author | Vladimir Smagin <21h@blindage.org> | 2023-04-27 12:40:00 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-27 07:40:00 +0200 |
commit | 1c875ef5bef206b8214c33437f65af929967df46 (patch) | |
tree | 1b5b799a5a47326864cc23eb6d01c5058a9631d6 /templates/package/content/helm.tmpl | |
parent | 36a5d4c2f3b5670e5e921034cd5d25817534a6d4 (diff) | |
download | gitea-1c875ef5bef206b8214c33437f65af929967df46.tar.gz gitea-1c875ef5bef206b8214c33437f65af929967df46.zip |
Add custom helm repo name generated from url (#24363)
Fresh version of "Add custom helm repo name generated from url #21024"
https://github.com/go-gitea/gitea/pull/21024
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/package/content/helm.tmpl')
-rw-r--r-- | templates/package/content/helm.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/package/content/helm.tmpl b/templates/package/content/helm.tmpl index fc190e0e45..8aa0b6ad54 100644 --- a/templates/package/content/helm.tmpl +++ b/templates/package/content/helm.tmpl @@ -4,12 +4,12 @@ <div class="ui form"> <div class="field"> <label>{{svg "octicon-terminal"}} {{.locale.Tr "packages.helm.registry"}}</label> - <div class="markup"><pre class="code-block"><code>helm repo add gitea <gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/helm"></gitea-origin-url> + <div class="markup"><pre class="code-block"><code>helm repo add {{AppDomain}} <gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/helm"></gitea-origin-url> helm repo update</code></pre></div> </div> <div class="field"> <label>{{svg "octicon-terminal"}} {{.locale.Tr "packages.helm.install"}}</label> - <div class="markup"><pre class="code-block"><code>helm install {{.PackageDescriptor.Package.Name}} gitea/{{.PackageDescriptor.Package.Name}}</code></pre></div> + <div class="markup"><pre class="code-block"><code>helm install {{.PackageDescriptor.Package.Name}} {{AppDomain}}/{{.PackageDescriptor.Package.Name}}</code></pre></div> </div> <div class="field"> <label>{{.locale.Tr "packages.helm.documentation" | Safe}}</label> |