From 1c875ef5bef206b8214c33437f65af929967df46 Mon Sep 17 00:00:00 2001 From: Vladimir Smagin <21h@blindage.org> Date: Thu, 27 Apr 2023 12:40:00 +0700 Subject: [PATCH] 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 --- templates/package/content/helm.tmpl | 4 ++-- 1 file 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 @@
-
helm repo add gitea 
+				
helm repo add {{AppDomain}} 
 helm repo update
-
helm install {{.PackageDescriptor.Package.Name}} gitea/{{.PackageDescriptor.Package.Name}}
+
helm install {{.PackageDescriptor.Package.Name}} {{AppDomain}}/{{.PackageDescriptor.Package.Name}}