Skip to content

Commit 1c875ef

Browse files
21hGiteaBot
andauthored
Add custom helm repo name generated from url (#24363)
Fresh version of "Add custom helm repo name generated from url #21024" #21024 Co-authored-by: Giteabot <[email protected]>
1 parent 36a5d4c commit 1c875ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/package/content/helm.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<div class="ui form">
55
<div class="field">
66
<label>{{svg "octicon-terminal"}} {{.locale.Tr "packages.helm.registry"}}</label>
7-
<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>
7+
<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>
88
helm repo update</code></pre></div>
99
</div>
1010
<div class="field">
1111
<label>{{svg "octicon-terminal"}} {{.locale.Tr "packages.helm.install"}}</label>
12-
<div class="markup"><pre class="code-block"><code>helm install {{.PackageDescriptor.Package.Name}} gitea/{{.PackageDescriptor.Package.Name}}</code></pre></div>
12+
<div class="markup"><pre class="code-block"><code>helm install {{.PackageDescriptor.Package.Name}} {{AppDomain}}/{{.PackageDescriptor.Package.Name}}</code></pre></div>
1313
</div>
1414
<div class="field">
1515
<label>{{.locale.Tr "packages.helm.documentation" | Safe}}</label>

0 commit comments

Comments
 (0)