Skip to content

Commit

Permalink
Add custom helm repo name generated from url (#24363)
Browse files Browse the repository at this point in the history
Fresh version of "Add custom helm repo name generated from url #21024"
#21024

Co-authored-by: Giteabot <teabot@gitea.io>
  • Loading branch information
21h and GiteaBot committed Apr 27, 2023
1 parent 36a5d4c commit 1c875ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/package/content/helm.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 1c875ef

Please sign in to comment.